File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,13 +20,13 @@ namespace restc_cpp {
2020// recommended in Meyers, Effective STL when internationalization and embedded
2121// NULLs aren't an issue. Much faster than the STL or Boost lex versions.
2222// Source: http://stackoverflow.com/questions/1801892/making-mapfind-operation-case-insensitive
23- struct ciLessLibC : public std ::binary_function<std::string, std::string, bool > {
23+ struct ciLessLibC {
2424 bool operator ()(const std::string &lhs, const std::string &rhs) const {
2525 return strcasecmp (lhs.c_str (), rhs.c_str ()) < 0 ;
2626 }
2727};
2828
29- struct ciEqLibC : public std ::binary_function<std::string, std::string, bool > {
29+ struct ciEqLibC {
3030 bool operator ()(const std::string &lhs, const std::string &rhs) const {
3131 return strcasecmp (lhs.c_str (), rhs.c_str ()) == 0 ;
3232 }
You can’t perform that action at this time.
0 commit comments