X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmisc.h;h=970f335d1b74f5f2bad89fe782a6479ab26b69d3;hp=92bde8f00618f9a70b7871dd958c69b759182693;hb=4d0a6c5a6f80fbb417318d6b5b22c5aab23e6de4;hpb=e4695f15bc62c0e34572b3a995e25b7461d2ae90 diff --git a/src/misc.h b/src/misc.h index 92bde8f0..970f335d 100644 --- a/src/misc.h +++ b/src/misc.h @@ -20,7 +20,7 @@ #ifndef MISC_H_INCLUDED #define MISC_H_INCLUDED -#include +#include #include #include @@ -37,12 +37,6 @@ extern void dbg_mean_of(int v); extern void dbg_print(); -struct Log : public std::ofstream { - Log(const std::string& f = "log.txt") : std::ofstream(f.c_str(), std::ios::out | std::ios::app) {} - ~Log() { if (is_open()) close(); } -}; - - namespace Time { typedef int64_t point; inline point now() { return system_time_to_msec(); }