From c649a51c57e1faa391f70fb603ed97fed19cc009 Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Mon, 6 Jun 2022 08:58:57 +0000 Subject: [PATCH] Remove reference to deprecated std::binary_function (#1068) C++11 deprecates std::binary_function. C++17 removes it. It only provides typedefs that are unused since C++11. --- src/HttpHeaderTools.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpHeaderTools.h b/src/HttpHeaderTools.h index d017dfe570..372086453e 100644 --- a/src/HttpHeaderTools.h +++ b/src/HttpHeaderTools.h @@ -67,7 +67,7 @@ public: private: /// Case-insensitive std::string "less than" comparison functor. /// Fast version recommended by Meyers' "Effective STL" for ASCII c-strings. - class NoCaseLessThan: public std::binary_function + class NoCaseLessThan { public: bool operator()(const std::string &lhs, const std::string &rhs) const { -- 2.47.2