From 63e5034c1799758fe28a1cdbc58ece7202072e07 Mon Sep 17 00:00:00 2001 From: Dmytro Bogovych Date: Thu, 27 Dec 2018 18:50:59 +0200 Subject: [PATCH] - fixes & cleanups from pvqa-player windows build --- src/engine/helper/HL_Process.cpp | 3 +++ src/engine/helper/HL_Sync.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/engine/helper/HL_Process.cpp b/src/engine/helper/HL_Process.cpp index f8f94328..3645b3a8 100644 --- a/src/engine/helper/HL_Process.cpp +++ b/src/engine/helper/HL_Process.cpp @@ -9,6 +9,7 @@ #if defined(TARGET_WIN) #include +#include #include "helper/HL_String.h" std::string OsProcess::execCommand(const std::string& cmd) @@ -84,6 +85,8 @@ std::shared_ptr OsProcess::asyncExecCommand(const std::string& cmdl std::function finished_callback, bool& finish_flag) { + // std::cout << cmdline << std::endl; + std::string output; HANDLE hPipeRead, hPipeWrite; diff --git a/src/engine/helper/HL_Sync.cpp b/src/engine/helper/HL_Sync.cpp index 5e833d78..08c2a62c 100644 --- a/src/engine/helper/HL_Sync.cpp +++ b/src/engine/helper/HL_Sync.cpp @@ -236,7 +236,7 @@ size_t TimerQueue::cancel(uint64_t id) { newItem.handler = std::move(item.handler); item.handler = nullptr; m_items.push(std::move(newItem)); - std::cout << "Cancelled timer. " << std::endl; + // std::cout << "Cancelled timer. " << std::endl; lk.unlock(); // Something changed, so wake up timer thread m_checkWork.notify();