From 60611073591d168fff33c8416958678c23b9ff32 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Sat, 26 Feb 2022 22:13:40 +0100 Subject: Stop using std::binary_function (staging_vespalib). --- staging_vespalib/src/tests/stllike/lrucache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'staging_vespalib') 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 MyKey; typedef std::shared_ptr MyData; -struct SharedEqual : public std::binary_function { +struct SharedEqual { bool operator()(const MyKey & a, const MyKey & b) { return ((*a) == (*b)); } -- cgit v1.2.3