From: khizmax Date: Tue, 21 Jul 2015 06:37:20 +0000 (+0300) Subject: Fixed make_comparator metafunction X-Git-Tag: v2.1.0~177 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6833a655b338541d952435ca3abccef89bc5501a;p=libcds.git Fixed make_comparator metafunction --- 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 >;