From 383addc1cab3be1d178f83eeb2047372e418d2b5 Mon Sep 17 00:00:00 2001 From: khizmax Date: Sat, 13 Dec 2014 16:14:57 +0300 Subject: [PATCH] Obsolete MSVC 2013 compatibility fix has been removed --- cds/container/striped_set/std_list.h | 6 ------ 1 file changed, 6 deletions(-) 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 ) ); -- 2.34.1