X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=86acd20d0eb7a174b779147f8e992dce9ff4a7c5;hp=8afbd83e2e9aeb322f9e80aa9a6752183565000e;hb=f7d8ea3866c26df10617e97513e906d1f5a5b833;hpb=42b48b08e81b55e385e55b3074b7c59d81809a45 diff --git a/src/position.h b/src/position.h index 8afbd83e..86acd20d 100644 --- a/src/position.h +++ b/src/position.h @@ -22,6 +22,7 @@ #include #include // For offsetof() +#include #include "bitboard.h" #include "types.h" @@ -174,7 +175,7 @@ public: Value non_pawn_material(Color c) const; // Position consistency check, for debugging - bool pos_is_ok(int* step = NULL) const; + bool pos_is_ok(int* step = nullptr) const; void flip(); private: