|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80768 - trunk/libs/unordered/test/unordered
From: dnljms_at_[hidden]
Date: 2012-09-30 04:29:31
Author: danieljames
Date: 2012-09-30 04:29:26 EDT (Sun, 30 Sep 2012)
New Revision: 80768
URL: http://svn.boost.org/trac/boost/changeset/80768
Log:
Unordered: Fix the Visual C++ 11 version number.
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 (original)
+++ trunk/libs/unordered/test/unordered/unnecessary_copy_tests.cpp 2012-09-30 04:29:26 EDT (Sun, 30 Sep 2012)
@@ -374,7 +374,7 @@
// COPY_COUNT(1) would be okay here.
reset();
x.emplace();
-# if BOOST_WORKAROUND(BOOST_MSVC, >= 1800)
+# 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