From cce50a153df8dd22921f0afe110caa10cd6f4a45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Tue, 5 Jan 2021 10:10:57 +0100 Subject: [PATCH] Use #include instead of own value_functor.hpp --- .../boost/container/detail/value_functors.hpp | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/include/boost/container/detail/value_functors.hpp b/include/boost/container/detail/value_functors.hpp index 961c9a8..39fb37c 100644 --- a/include/boost/container/detail/value_functors.hpp +++ b/include/boost/container/detail/value_functors.hpp @@ -18,23 +18,13 @@ # pragma once #endif +#include + namespace boost { namespace container { -//Functors for member algorithm defaults -template -struct value_less -{ - bool operator()(const ValueType &a, const ValueType &b) const - { return a < b; } -}; - -template -struct value_equal -{ - bool operator()(const ValueType &a, const ValueType &b) const - { return a == b; } -}; +using ::boost::intrusive::value_less; +using ::boost::intrusive::value_equal; } //namespace container { } //namespace boost {