fix: fix build error on linux again

This commit is contained in:
MistEO
2022-07-26 21:30:24 +08:00
parent 3ff908f0d4
commit a1e9525206

View File

@@ -101,10 +101,9 @@ asst::Controller::Controller(AsstCallback callback, void* callback_arg)
if (pipe_in_ret < 0 || pipe_out_ret < 0) {
throw "controller pipe created failed";
}
// todo
m_support_netcat = false;
m_support_socket = false;
#endif
m_pipe_buffer = std::make_unique<uchar[]>(PipeBuffSize);
if (!m_pipe_buffer) {
throw "controller pipe buffer allocated failed";