|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56844 - trunk/libs/unordered/test/unordered
From: daniel_james_at_[hidden]
Date: 2009-10-14 16:30:49
Author: danieljames
Date: 2009-10-14 16:30:48 EDT (Wed, 14 Oct 2009)
New Revision: 56844
URL: http://svn.boost.org/trac/boost/changeset/56844
Log:
Correct macro checks for initializer lists.
Text files modified:
trunk/libs/unordered/test/unordered/assign_tests.cpp | 3 ++-
trunk/libs/unordered/test/unordered/constructor_tests.cpp | 3 ++-
trunk/libs/unordered/test/unordered/insert_tests.cpp | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
Modified: trunk/libs/unordered/test/unordered/assign_tests.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/assign_tests.cpp (original)
+++ trunk/libs/unordered/test/unordered/assign_tests.cpp 2009-10-14 16:30:48 EDT (Wed, 14 Oct 2009)
@@ -118,7 +118,8 @@
#endif
-#if !defined(BOOST_NO_INITIALIZER_LISTS)
+#if !defined(BOOST_NO_0X_HDR_INITIALIZER_LIST) && \
+ !defined(BOOST_NO_INITIALIZER_LISTS)
UNORDERED_AUTO_TEST(assign_initializer_list)
{
Modified: trunk/libs/unordered/test/unordered/constructor_tests.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/constructor_tests.cpp (original)
+++ trunk/libs/unordered/test/unordered/constructor_tests.cpp 2009-10-14 16:30:48 EDT (Wed, 14 Oct 2009)
@@ -312,7 +312,8 @@
#endif
-#if !defined(BOOST_NO_INITIALIZER_LISTS)
+#if !defined(BOOST_NO_0X_HDR_INITIALIZER_LIST) && \
+ !defined(BOOST_NO_INITIALIZER_LISTS)
UNORDERED_AUTO_TEST(test_initializer_list) {
std::cerr<<"Initializer List Tests\n";
Modified: trunk/libs/unordered/test/unordered/insert_tests.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/insert_tests.cpp (original)
+++ trunk/libs/unordered/test/unordered/insert_tests.cpp 2009-10-14 16:30:48 EDT (Wed, 14 Oct 2009)
@@ -393,7 +393,8 @@
((default_generator)(generate_collisions))
)
-#if !defined(BOOST_NO_0X_HDR_INITIALIZER_LIST)
+#if !defined(BOOST_NO_0X_HDR_INITIALIZER_LIST) && \
+ !defined(BOOST_NO_INITIALIZER_LISTS)
UNORDERED_AUTO_TEST(insert_initializer_list_set)
{
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