From 6833a655b338541d952435ca3abccef89bc5501a Mon Sep 17 00:00:00 2001 From: khizmax Date: Tue, 21 Jul 2015 09:37:20 +0300 Subject: [PATCH] Fixed make_comparator metafunction --- cds/opt/compare.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cds/opt/compare.h b/cds/opt/compare.h index d59de7ab..a377186c 100644 --- a/cds/opt/compare.h +++ b/cds/opt/compare.h @@ -166,7 +166,7 @@ namespace cds { namespace opt { } }; - template >::type > + template > > struct make_comparator_from { typedef typename Traits::compare compare; @@ -188,7 +188,7 @@ namespace cds { namespace opt { using make_comparator = make_comparator_from< T, Traits, typename std::conditional< Forced, - typename make_comparator_from_less< std::less>::type, + make_comparator_from_less< std::less>, opt::none >::type >; -- 2.34.1