Skip to content

Commit

Permalink
Don't use deprecated std::binary_function
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Jun 28, 2024
1 parent ab99d0e commit eff7df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src_cpp/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace set_operations {
transform(list.begin(), list.end(), inserter(tmp, tmp.end()), to_lower);
list = tmp;
}
struct case_insens_cmp : public std::binary_function<std::string, std::string, bool> {
struct case_insens_cmp {
bool operator()(const std::string &lhs, const std::string &rhs) const {
#ifdef WIN_IMB
return stricmp(lhs.c_str(), rhs.c_str()) < 0;
Expand Down

0 comments on commit eff7df3

Please sign in to comment.