]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Try hard not to lose on time
[stockfish] / src / search.h
index c1b370d63070018c0d64feb99a6d48714945d306..8290b41a70f6a49f874df4c64c28341e5614d45f 100644 (file)
@@ -55,7 +55,7 @@ struct Stack {
 struct LimitsType {
 
   LimitsType() {  memset(this, 0, sizeof(LimitsType)); }
 struct LimitsType {
 
   LimitsType() {  memset(this, 0, sizeof(LimitsType)); }
-  bool useTimeManagement() const { return !(maxTime | maxDepth | maxNodes | infinite); }
+  bool use_time_management() const { return !(maxTime | maxDepth | maxNodes | infinite); }
 
   int time, increment, movesToGo, maxTime, maxDepth, maxNodes, infinite, ponder;
 };
 
   int time, increment, movesToGo, maxTime, maxDepth, maxNodes, infinite, ponder;
 };