Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86365 - trunk/libs/unordered/test/unordered
From: dnljms_at_[hidden]
Date: 2013-10-19 12:53:37


Author: danieljames
Date: 2013-10-19 12:53:37 EDT (Sat, 19 Oct 2013)
New Revision: 86365
URL: http://svn.boost.org/trac/boost/changeset/86365

Log:
This special case doesn't seem to apply to the latest Visual C++.

Text files modified:
   trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp Sat Oct 19 12:53:12 2013 (r86364)
+++ trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp 2013-10-19 12:53:37 EDT (Sat, 19 Oct 2013) (r86365)
@@ -374,7 +374,7 @@
         // COPY_COUNT(1) would be okay here.
         reset();
         x.emplace();
-# if BOOST_WORKAROUND(BOOST_MSVC, >= 1700)
+# if BOOST_WORKAROUND(BOOST_MSVC, == 1700)
         // This is a little odd, Visual C++ 11 seems to move the pair, which
         // results in one copy (for the const key) and one move (for the
         // non-const mapped value). Since 'emplace(boost::move(a))' (see below)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk