diff options
-rw-r--r-- | staging_vespalib/src/tests/stllike/lrucache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/staging_vespalib/src/tests/stllike/lrucache.cpp b/staging_vespalib/src/tests/stllike/lrucache.cpp index a23fec26448..2cc6f2b4ee8 100644 --- a/staging_vespalib/src/tests/stllike/lrucache.cpp +++ b/staging_vespalib/src/tests/stllike/lrucache.cpp @@ -90,7 +90,7 @@ TEST("testCache") { typedef std::shared_ptr<std::string> MyKey; typedef std::shared_ptr<std::string> MyData; -struct SharedEqual : public std::binary_function<MyKey, MyKey, bool> { +struct SharedEqual { bool operator()(const MyKey & a, const MyKey & b) { return ((*a) == (*b)); } |