]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Mark all compile-time constants as constexpr.
[stockfish] / src / search.h
index 1274b9681958fce4d2cbf53b6695c33505c1ab67..22f9f0d766ae0ce839b493ac91219f75f03247e0 100644 (file)
@@ -32,7 +32,7 @@ class Position;
 namespace Search {
 
 /// Threshold used for countermoves based pruning
-const int CounterMovePruneThreshold = 0;
+constexpr int CounterMovePruneThreshold = 0;
 
 
 /// Stack struct keeps track of the information we need to remember from nodes