]> git.sesse.net Git - stockfish/blobdiff - src/tune.cpp
Add Stockfish namespace.
[stockfish] / src / tune.cpp
index 424bdac85dcfef5d0f0fcdfce4e6c196d2b38343..d9618efc9c7d94f6e27dcd510d214829ce300ab4 100644 (file)
@@ -26,6 +26,8 @@
 
 using std::string;
 
+namespace Stockfish {
+
 bool Tune::update_on_last;
 const UCI::Option* LastOption = nullptr;
 BoolConditions Conditions;
@@ -126,6 +128,8 @@ void BoolConditions::set() {
       sync_cout << binary[i] << sync_endl;
 }
 
+} // namespace Stockfish
+
 
 // Init options with tuning session results instead of default values. Useful to
 // get correct bench signature after a tuning session or to test tuned values.
@@ -138,7 +142,11 @@ void BoolConditions::set() {
 
 #include <cmath>
 
+namespace Stockfish {
+
 void Tune::read_results() {
 
   /* ...insert your values here... */
 }
+
+} // namespace Stockfish