summaryrefslogtreecommitdiff
path: root/src/a2functional.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/a2functional.h')
-rw-r--r--src/a2functional.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/a2functional.h b/src/a2functional.h
index c1059fef..bacfff57 100644
--- a/src/a2functional.h
+++ b/src/a2functional.h
@@ -102,8 +102,7 @@ std::string strjoin(InputIterator first, InputIterator last,
return result;
}
-template <typename T>
-class LeastRecentAccess : public std::binary_function<T, T, bool> {
+template <typename T> class LeastRecentAccess {
public:
bool operator()(const std::shared_ptr<T>& lhs,
const std::shared_ptr<T>& rhs) const