]> git.sesse.net Git - stockfish/blobdiff - src/tune.h
Merge remote-tracking branch 'upstream/master' into HEAD
[stockfish] / src / tune.h
index ef4189688fb5c885ec46b3ad7ff31c97464a7c33..c904c09dc9442b294004c4364d233347667ab3d6 100644 (file)
@@ -24,6 +24,8 @@
 #include <type_traits>
 #include <vector>
 
+namespace Stockfish {
+
 typedef std::pair<int, int> Range; // Option's min-max values
 typedef Range (RangeFun) (int);
 
@@ -130,9 +132,9 @@ class Tune {
     SetRange range;
   };
 
-  // Our facilty to fill the container, each Entry corresponds to a parameter to tune.
-  // We use variadic templates to deal with an unspecified number of entries, each one
-  // of a possible different type.
+  // Our facility to fill the container, each Entry corresponds to a parameter
+  // to tune. We use variadic templates to deal with an unspecified number of
+  // entries, each one of a possible different type.
   static std::string next(std::string& names, bool pop = true);
 
   int add(const SetRange&, std::string&&) { return 0; }
@@ -190,4 +192,6 @@ public:
 #define TUNE_CONDITIONS() int UNIQUE(c, __LINE__) = (Conditions.init(__COUNTER__), 0); \
                           TUNE(Conditions, set_conditions)
 
+} // namespace Stockfish
+
 #endif // #ifndef TUNE_H_INCLUDED