]> git.sesse.net Git - stockfish/blobdiff - src/material.h
Revert C++11 merge
[stockfish] / src / material.h
index 67d555a461935215e729717241ccf94d40c5f59b..0119caab8bf2a7d9fd8f2b77934c8facc8ab4692 100644 (file)
@@ -40,7 +40,7 @@ struct Entry {
 
   Score imbalance() const { return make_score(value, value); }
   Phase game_phase() const { return gamePhase; }
-  bool specialized_eval_exists() const { return evaluationFunction != nullptr; }
+  bool specialized_eval_exists() const { return evaluationFunction != NULL; }
   Value evaluate(const Position& pos) const { return (*evaluationFunction)(pos); }
 
   // scale_factor takes a position and a color as input and returns a scale factor