From b2cc2ab93153cae6d6d7b5ee9e33c2720a3db60d Mon Sep 17 00:00:00 2001 From: MistEO Date: Sun, 13 Nov 2022 19:11:50 +0800 Subject: [PATCH] fix: mac build error --- src/MeoAssistant/Controller.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/MeoAssistant/Controller.cpp b/src/MeoAssistant/Controller.cpp index 28aab10269..4e373ea16d 100644 --- a/src/MeoAssistant/Controller.cpp +++ b/src/MeoAssistant/Controller.cpp @@ -574,7 +574,8 @@ bool asst::Controller::call_and_hup_minitouch(const std::string& cmd) #else // !_WIN32 // TODO std::ignore = pipe_str; - std::ignore = PipeBuffSize; + std::ignore = PipeReadBuffSize; + std::ignore = PipeWriteBuffSize; return false; #endif // _WIN32 @@ -607,7 +608,7 @@ bool asst::Controller::call_and_hup_minitouch(const std::string& cmd) bool asst::Controller::input_to_minitouch(const std::string& cmd, int delay_ms) { LogTraceFunction; - Log.info("Input to minitouch", Logger::separator::newline, cmd); + Log.info("Input to minitouch with delay", delay_ms, Logger::separator::newline, cmd); #ifdef _WIN32 DWORD written = 0;