projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finally remove last old C style I/O stuff
[stockfish]
/
src
/
main.cpp
diff --git
a/src/main.cpp
b/src/main.cpp
index bd4958d92043fca396a00a01a3f4ffe3658a10e9..e89fee0ed80e0bc2ea49a6789fd79689111b8a1e 100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-21,7
+21,6
@@
//// Includes
////
//// Includes
////
-#include <cstdlib>
#include <iostream>
#include "benchmark.h"
#include <iostream>
#include "benchmark.h"
@@
-48,8
+47,6
@@
using std::string;
int main(int argc, char *argv[]) {
// Disable IO buffering
int main(int argc, char *argv[]) {
// Disable IO buffering
- setbuf(stdin, NULL);
- setbuf(stdout, NULL);
std::cout.rdbuf()->pubsetbuf(NULL, 0);
std::cin.rdbuf()->pubsetbuf(NULL, 0);
std::cout.rdbuf()->pubsetbuf(NULL, 0);
std::cin.rdbuf()->pubsetbuf(NULL, 0);