From: khizmax Date: Sat, 13 Dec 2014 13:14:57 +0000 (+0300) Subject: Obsolete MSVC 2013 compatibility fix has been removed X-Git-Tag: v2.0.0~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=383addc1cab3be1d178f83eeb2047372e418d2b5;p=libcds.git Obsolete MSVC 2013 compatibility fix has been removed --- diff --git a/cds/container/striped_set/std_list.h b/cds/container/striped_set/std_list.h index 12868d5d..264ef94b 100644 --- a/cds/container/striped_set/std_list.h +++ b/cds/container/striped_set/std_list.h @@ -155,13 +155,7 @@ namespace cds { namespace intrusive { namespace striped_set { template bool emplace( Args&&... args ) { -//#if CDS_COMPILER == CDS_COMPILER_MSVC && CDS_COMPILER_VERSION == CDS_COMPILER_MSVC12 -// // MS VC++ 2013: internal compiler error -// // Use assignment workaround, see http://connect.microsoft.com/VisualStudio/feedback/details/804941/visual-studio-2013-rc-c-internal-compiler-error-with-std-forward -// value_type val = value_type( std::forward(args)... ); -//#else value_type val(std::forward(args)...); -//#endif iterator it = std::lower_bound( m_List.begin(), m_List.end(), val, find_predicate() ); if ( it == m_List.end() || key_comparator()( val, *it ) != 0 ) { it = m_List.emplace( it, std::move( val ) );