Skip to content

Commit eff7df3

Browse files
committed
Don't use deprecated std::binary_function
1 parent ab99d0e commit eff7df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src_cpp/utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ namespace set_operations {
7272
transform(list.begin(), list.end(), inserter(tmp, tmp.end()), to_lower);
7373
list = tmp;
7474
}
75-
struct case_insens_cmp : public std::binary_function<std::string, std::string, bool> {
75+
struct case_insens_cmp {
7676
bool operator()(const std::string &lhs, const std::string &rhs) const {
7777
#ifdef WIN_IMB
7878
return stricmp(lhs.c_str(), rhs.c_str()) < 0;

0 commit comments

Comments
 (0)