projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Don't sync with C library I/O buffers"
[stockfish]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index 31337fa676ef9fba1de2c99d4f3ade7bf7bde8d2..1d5c6ea7d50d24cb75697f955be3edd291316069 100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-35,11
+35,6
@@
extern void kpk_bitbase_init();
int main(int argc, char* argv[]) {
int main(int argc, char* argv[]) {
- // Don't sync with C library I/O buffers, faster but now using printf()
- // or scanf() could yield to issues because buffers are independent.
- cout.sync_with_stdio(false);
- cin.sync_with_stdio(false);
-
cout << engine_info() << endl;
bitboards_init();
cout << engine_info() << endl;
bitboards_init();