diff options
author | Tor Egge <Tor.Egge@online.no> | 2022-02-26 22:02:17 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2022-02-26 22:02:29 +0100 |
commit | 5269c399d694e2ab45bf3e76f86cea4d7de0ab17 (patch) | |
tree | c04075c3546f2cc3578245c190a1a8bbf58b4779 /searchlib/src/tests/sort | |
parent | e5f4e91644625fa092e2f74c57faa740adbc8f62 (diff) |
Stop using std::binary_function (searchlib).
Diffstat (limited to 'searchlib/src/tests/sort')
-rw-r--r-- | searchlib/src/tests/sort/sort_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/sort/sort_test.cpp b/searchlib/src/tests/sort/sort_test.cpp index 54a3542e82b..9c48498eae9 100644 --- a/searchlib/src/tests/sort/sort_test.cpp +++ b/searchlib/src/tests/sort/sort_test.cpp @@ -48,7 +48,7 @@ struct LoadedStrings } }; - class ValueCompare : public std::binary_function<LoadedStrings, LoadedStrings, bool> { + class ValueCompare { public: bool operator() (const LoadedStrings & x, const LoadedStrings & y) const { return strcmp(x._value, y._value) < 0; |