diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-25 15:07:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-25 15:07:13 +0300 |
commit | a9bad635bc89092b4c866a90018c803cd25592c0 (patch) | |
tree | fb163ac1a1d480eaa51bdb6ad8873ac85c00c2c4 | |
parent | 8764d8fed61e7f0148ede9a6a836b402145578aa (diff) | |
download | manaverse-a9bad635bc89092b4c866a90018c803cd25592c0.tar.gz manaverse-a9bad635bc89092b4c866a90018c803cd25592c0.tar.bz2 manaverse-a9bad635bc89092b4c866a90018c803cd25592c0.tar.xz manaverse-a9bad635bc89092b4c866a90018c803cd25592c0.zip |
Improve logging speed.
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |