Fixed non-MSW builds

This commit is contained in:
YuSanka 2020-09-23 08:33:16 +02:00
parent 35d225d673
commit 9377013824

View File

@ -99,8 +99,10 @@ public:
auto process_duration = std::chrono::milliseconds(stop_timer - start_timer).count();
std::string out = (boost::format("\n!!! %1% duration = %2% ms \n\n") % task_name % process_duration).str();
printf(out.c_str());
#ifdef __WXMSW__
std::wstring stemp = std::wstring(out.begin(), out.end());
OutputDebugString(stemp.c_str());
#endif
}
};