]> git.sesse.net Git - stockfish/blobdiff - src/ucioption.cpp
Use ADL to skip std:: qualifier
[stockfish] / src / ucioption.cpp
index 9e718c02c89ca8a5670b555ed05ccca93fb9026a..7b8799c48dcec9285c5d5bc10276e07619880515 100644 (file)
@@ -18,8 +18,6 @@
 */
 
 #include <algorithm>
-#include <cctype>
-#include <iostream>
 #include <sstream>
 
 #include "misc.h"
@@ -27,8 +25,6 @@
 #include "ucioption.h"
 
 using std::string;
-using std::cout;
-using std::endl;
 
 OptionsMap Options; // Global object
 
@@ -37,7 +33,7 @@ OptionsMap Options; // Global object
 static bool ci_less(char c1, char c2) { return tolower(c1) < tolower(c2); }
 
 bool CaseInsensitiveLess::operator() (const string& s1, const string& s2) const {
-  return std::lexicographical_compare(s1.begin(), s1.end(), s2.begin(), s2.end(), ci_less);
+  return lexicographical_compare(s1.begin(), s1.end(), s2.begin(), s2.end(), ci_less);
 }