From 79a28841f98c5ecbbb086855cc7b13b14364a965 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Thu, 19 Aug 2010 17:55:32 +0100 Subject: [PATCH] Move StartPositionFEN out of the header It is not needed to have global visibility. No functional change. Signed-off-by: Marco Costalba --- src/position.h | 3 --- src/uci.cpp | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/position.h b/src/position.h index b006cff2..2c294f54 100644 --- a/src/position.h +++ b/src/position.h @@ -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). diff --git a/src/uci.cpp b/src/uci.cpp index 9fd35e97..a8ae266e 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -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. -- 2.39.2