]> git.sesse.net Git - stockfish/commitdiff
Move StartPositionFEN out of the header
authorMarco Costalba <mcostalba@gmail.com>
Thu, 19 Aug 2010 16:55:32 +0000 (17:55 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 19 Aug 2010 17:22:48 +0000 (18:22 +0100)
It is not needed to have global visibility.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/position.h
src/uci.cpp

index b006cff248fef882e4c4901ced0911b722009bcf..2c294f5479c612e5957c4969bf4869551fe45fd2 100644 (file)
@@ -50,9 +50,6 @@
 //// Constants
 ////
 
-/// FEN string for the initial position
-const std::string StartPositionFEN = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1";
-
 /// Maximum number of plies per game (220 should be enough, because the
 /// maximum search depth is 100, and during position setup we reset the
 /// move counter for every non-reversible move).
index 9fd35e97f0606f4d27ee1110bb832ddbd44ebb75..a8ae266e0cf3f07166867bf7ef083ad0f9ae2009 100644 (file)
@@ -46,6 +46,9 @@ using namespace std;
 
 namespace {
 
+  // FEN string for the initial position
+  const string StartPositionFEN = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1";
+
   // UCIInputParser is a class for parsing UCI input. The class
   // is actually a string stream built on a given input string.