Obsolete MSVC 2013 compatibility fix has been removed
authorkhizmax <libcds.dev@gmail.com>
Sat, 13 Dec 2014 13:14:57 +0000 (16:14 +0300)
committerkhizmax <libcds.dev@gmail.com>
Sat, 13 Dec 2014 13:14:57 +0000 (16:14 +0300)
cds/container/striped_set/std_list.h

index 12868d5ded1b685fbf9405ff572bd4a141a0703b..264ef94b3c6813bc45899915860fcdd7ccc983bf 100644 (file)
@@ -155,13 +155,7 @@ namespace cds { namespace intrusive { namespace striped_set {
             template <typename... Args>
             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>(args)... );
-//#else
                 value_type val(std::forward<Args>(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 ) );