aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp')
-rw-r--r--vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp b/vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp
index 86c3dc1411c..7b9dfc98fa5 100644
--- a/vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp
+++ b/vespalib/src/tests/stllike/uniq_by_sort_map_hash.cpp
@@ -92,7 +92,7 @@ private:
Gid _gid;
};
-struct IndirectCmp : public std::binary_function<Slot*, Slot*, bool> {
+struct IndirectCmp {
bool operator() (const Slot* s1, const Slot* s2) noexcept {
return s1->cmp(*s2) < 0;
}