|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57962 - trunk/libs/unordered/test/unordered
From: daniel_james_at_[hidden]
Date: 2009-11-26 18:14:53
Author: danieljames
Date: 2009-11-26 18:14:53 EST (Thu, 26 Nov 2009)
New Revision: 57962
URL: http://svn.boost.org/trac/boost/changeset/57962
Log:
Fix the version check when suppressing warnings.
Text files modified:
trunk/libs/unordered/test/unordered/bucket_tests.cpp | 2 +-
trunk/libs/unordered/test/unordered/erase_equiv_tests.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/unordered/test/unordered/bucket_tests.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/bucket_tests.cpp (original)
+++ trunk/libs/unordered/test/unordered/bucket_tests.cpp 2009-11-26 18:14:53 EST (Thu, 26 Nov 2009)
@@ -11,7 +11,7 @@
#include "../helpers/random_values.hpp"
#include "../helpers/helpers.hpp"
-#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
+#if BOOST_WORKAROUND(BOOST_MSVC, < 1400)
#pragma warning(disable:4267) // conversion from 'size_t' to 'unsigned int',
// possible loss of data.
#endif
Modified: trunk/libs/unordered/test/unordered/erase_equiv_tests.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/erase_equiv_tests.cpp (original)
+++ trunk/libs/unordered/test/unordered/erase_equiv_tests.cpp 2009-11-26 18:14:53 EST (Thu, 26 Nov 2009)
@@ -15,7 +15,7 @@
#include <boost/next_prior.hpp>
#include "../objects/test.hpp"
-#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
+#if BOOST_WORKAROUND(BOOST_MSVC, < 1400)
#pragma warning(disable:4267) // conversion from 'size_t' to 'unsigned int',
// possible loss of data.
#endif
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