diff options
Diffstat (limited to 'SimpleIni.h')
-rw-r--r-- | SimpleIni.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SimpleIni.h b/SimpleIni.h index b0cad33..6cf5ced 100644 --- a/SimpleIni.h +++ b/SimpleIni.h @@ -328,7 +328,7 @@ public: #endif /** Strict less ordering by name of key only */ - struct KeyOrder : std::binary_function<Entry, Entry, bool> { + struct KeyOrder { bool operator()(const Entry & lhs, const Entry & rhs) const { const static SI_STRLESS isLess = SI_STRLESS(); return isLess(lhs.pItem, rhs.pItem); @@ -336,7 +336,7 @@ public: }; /** Strict less ordering by order, and then name of key */ - struct LoadOrder : std::binary_function<Entry, Entry, bool> { + struct LoadOrder { bool operator()(const Entry & lhs, const Entry & rhs) const { if (lhs.nOrder != rhs.nOrder) { return lhs.nOrder < rhs.nOrder; |