Skip to content

Commit

Permalink
Remove reference to deprecated std::binary_function (#1068)
Browse files Browse the repository at this point in the history
C++11 deprecates std::binary_function. C++17 removes it.
It only provides typedefs that are unused since C++11.
  • Loading branch information
kinkie authored and squid-anubis committed Jun 8, 2022
1 parent 6f4bee9 commit 91d65f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HttpHeaderTools.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class HeaderManglers
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<std::string, std::string, bool>
class NoCaseLessThan
{
public:
bool operator()(const std::string &lhs, const std::string &rhs) const {
Expand Down

0 comments on commit 91d65f9

Please sign in to comment.