]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Add Stockfish namespace.
[stockfish] / src / position.h
index e9803756609c1da2df164897deb14af7391491a4..4ab3761fd4a8b824bafe9301db638290cefd379e 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "nnue/nnue_accumulator.h"
 
+namespace Stockfish {
 
 /// StateInfo struct stores information needed to restore a Position object to
 /// its previous state when we retract a move. Whenever a move is made on the
@@ -423,4 +424,6 @@ inline StateInfo* Position::state() const {
   return st;
 }
 
+} // namespace Stockfish
+
 #endif // #ifndef POSITION_H_INCLUDED