]> git.sesse.net Git - stockfish/blobdiff - src/ucioption.cpp
Fix a compile error with Intel icc
[stockfish] / src / ucioption.cpp
index 2eb7d1c62c6a0c9480a4ebf75c2e0adef1f6c277..1504f64ec41c8d88c3bfe40283a61907bb2af1bd 100644 (file)
@@ -68,7 +68,7 @@ namespace {
     Option(bool defaultValue, OptionType = CHECK);
     Option(int defaultValue, int minValue, int maxValue);
 
-    bool operator<(const Option& o) { return this->idx < o.idx; }
+    bool operator<(const Option& o) const { return this->idx < o.idx; }
   };
 
   typedef std::map<std::string, Option> Options;