Skip to content

Commit 218dabc

Browse files
committed
fixes compile
1 parent 0db2c77 commit 218dabc

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

bee/subprocess/subprocess_posix.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -136,22 +136,6 @@ namespace bee::subprocess {
136136
}
137137
}
138138

139-
void spawn::redirect(stdio type, file_handle h) noexcept {
140-
switch (type) {
141-
case stdio::eInput:
142-
fds_[0] = h.value();
143-
break;
144-
case stdio::eOutput:
145-
fds_[1] = h.value();
146-
break;
147-
case stdio::eError:
148-
fds_[2] = h.value();
149-
break;
150-
default:
151-
std::unreachable();
152-
}
153-
}
154-
155139
void spawn::env(environment&& env) noexcept {
156140
env_ = std::move(env);
157141
}

0 commit comments

Comments
 (0)