X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=efa57a581acf1ebf96d146d202e126b2e2f5b077;hp=08cbc919807dfa0e4d6d0308634e0841edfa2c7a;hb=431c3ac485386cc10413fc8a3c7d338dcc71602d;hpb=190aea4cdc6e8e165028803be846563da53f9330 diff --git a/src/misc.cpp b/src/misc.cpp index 08cbc919..efa57a58 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -26,8 +26,8 @@ using namespace std; -/// Version number. If Version is left empty, then compile date, in the -/// format DD-MM-YY, is shown in engine_info. +/// Version number. If Version is left empty, then compile date in the format +/// DD-MM-YY and show in engine_info. static const string Version = ""; @@ -82,7 +82,7 @@ void dbg_print() { /// Our fancy logging facility. The trick here is to replace cin.rdbuf() and /// cout.rdbuf() with two Tie objects that tie cin and cout to a file stream. We /// can toggle the logging of std::cout and std:cin at runtime whilst preserving -/// usual i/o functionality and without changing a single line of code! +/// usual i/o functionality, all without changing a single line of code! /// Idea from http://groups.google.com/group/comp.lang.c++/msg/1d941c0f26ea0d81 struct Tie: public streambuf { // MSVC requires splitted streambuf for cin and cout