diff options
Diffstat (limited to 'boost/multi_index/detail/rnd_index_ops.hpp')
-rw-r--r-- | boost/multi_index/detail/rnd_index_ops.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/boost/multi_index/detail/rnd_index_ops.hpp b/boost/multi_index/detail/rnd_index_ops.hpp index d05386d747..f5e76e4441 100644 --- a/boost/multi_index/detail/rnd_index_ops.hpp +++ b/boost/multi_index/detail/rnd_index_ops.hpp @@ -16,7 +16,6 @@ #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */ #include <algorithm> #include <boost/multi_index/detail/rnd_index_ptr_array.hpp> -#include <functional> namespace boost{ @@ -123,11 +122,12 @@ void random_access_index_inplace_merge( /* auxiliary stuff */ template<typename Node,typename Compare> -struct random_access_index_sort_compare: - std::binary_function< - typename Node::impl_pointer, - typename Node::impl_pointer,bool> +struct random_access_index_sort_compare { + typedef typename Node::impl_pointer first_argument_type; + typedef typename Node::impl_pointer second_argument_type; + typedef bool result_type; + random_access_index_sort_compare(Compare comp_=Compare()):comp(comp_){} bool operator()( |