From a9bad635bc89092b4c866a90018c803cd25592c0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Dec 2014 15:07:13 +0300 Subject: Improve logging speed. --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index da445aab6..81a38e231 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -304,6 +304,8 @@ int main(int argc, char *argv[]) _exit(0); } + std::ios::sync_with_stdio(false); + #ifdef ANDROID mkdir_r(getSdStoragePath().c_str()); #endif -- cgit v1.2.3-70-g09d2