X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmisc.cpp;h=ae8b6ffbed302c7e0075d5ddfe29a9fcd3ecc4b9;hb=24b25b4827df4b3629d46ef019f4fea645d6dc91;hp=7cc6192c1b48b74ceb5014cc1b667892e2d17745;hpb=c00443b19e38aface91245a83b915d0cfd3216b7;p=stockfish diff --git a/src/misc.cpp b/src/misc.cpp index 7cc6192c..ae8b6ffb 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -40,13 +40,10 @@ #endif #include -#include -#include #include #include #include -#include "bitcount.h" #include "misc.h" #include "thread.h" @@ -56,7 +53,7 @@ using namespace std; /// date (in the format YYMMDD) is used as a version number. static const string Version = ""; -static const string Tag = ""; +static const string Tag = ""; /// engine_info() returns the full name of the current Stockfish version. @@ -156,7 +153,7 @@ int cpu_count() { /// timed_wait() waits for msec milliseconds. It is mainly an helper to wrap /// conversion from milliseconds to struct timespec, as used by pthreads. -void timed_wait(WaitCondition* sleepCond, Lock* sleepLock, int msec) { +void timed_wait(WaitCondition& sleepCond, Lock& sleepLock, int msec) { #if defined(_MSC_VER) int tm = msec;