X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.cpp;h=efa57a581acf1ebf96d146d202e126b2e2f5b077;hp=08cbc919807dfa0e4d6d0308634e0841edfa2c7a;hb=cf0a2a26a9e2640dc86b26a998fb7a71a5c20b90;hpb=13a73f67c018e58b2fd46f886c45ef2b75188c8e 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