From eca11b73ba57bef069b3519e7ce7abe975912ea0 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Fri, 24 Jun 2022 22:49:23 +0300 Subject: [PATCH] Update SimpleIni.h --- vendor/SimpleIni/include/SimpleIni.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vendor/SimpleIni/include/SimpleIni.h b/vendor/SimpleIni/include/SimpleIni.h index 0339fd81..7bec9531 100644 --- a/vendor/SimpleIni/include/SimpleIni.h +++ b/vendor/SimpleIni/include/SimpleIni.h @@ -328,7 +328,7 @@ public: #endif /** Strict less ordering by name of key only */ - struct KeyOrder : std::binary_function { + 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 { + struct LoadOrder { bool operator()(const Entry & lhs, const Entry & rhs) const { if (lhs.nOrder != rhs.nOrder) { return lhs.nOrder < rhs.nOrder;