From 770f5ea0f2df8de3df915219268fb3a70165ae03 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 2 Aug 2015 14:58:49 +0100 Subject: [PATCH] use the new functor as default cmp in hashtables --- ostd/map.hh | 4 ++-- ostd/set.hh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ostd/map.hh b/ostd/map.hh index a46d393..1e6453c 100644 --- a/ostd/map.hh +++ b/ostd/map.hh @@ -166,14 +166,14 @@ namespace detail { template< typename K, typename T, typename H = ToHash, - typename C = Equal, + typename C = EqualWithCstr, typename A = Allocator> > using Map = detail::MapImpl; template< typename K, typename T, typename H = ToHash, - typename C = Equal, + typename C = EqualWithCstr, typename A = Allocator> > using Multimap = detail::MapImpl; diff --git a/ostd/set.hh b/ostd/set.hh index 786756e..1bb0f3e 100644 --- a/ostd/set.hh +++ b/ostd/set.hh @@ -137,14 +137,14 @@ namespace detail { template< typename T, typename H = ToHash, - typename C = Equal, + typename C = EqualWithCstr, typename A = Allocator > using Set = detail::SetImpl; template< typename T, typename H = ToHash, - typename C = Equal, + typename C = EqualWithCstr, typename A = Allocator > using Multiset = detail::SetImpl;