From 9c435336552edd2ceefec6f61c209f575a071c0f Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 30 May 2009 17:41:05 +0000 Subject: [PATCH] A couple more minor unordered changes. Merged revisions 53312,53367 via svnmerge from https://svn.boost.org/svn/boost/trunk ........ r53312 | danieljames | 2009-05-27 18:43:22 +0100 (Wed, 27 May 2009) | 1 line Remove obsolete comment. ........ r53367 | danieljames | 2009-05-28 23:06:42 +0100 (Thu, 28 May 2009) | 1 line Remove a couple of old uses of BOOST_NO_INITIALIZER_LISTS. ........ [SVN r53466] --- test/helpers/memory.hpp | 5 ----- test/unordered/assign_tests.cpp | 2 +- test/unordered/constructor_tests.cpp | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/test/helpers/memory.hpp b/test/helpers/memory.hpp index a37eccba..6dbec85f 100644 --- a/test/helpers/memory.hpp +++ b/test/helpers/memory.hpp @@ -18,11 +18,6 @@ namespace test { namespace detail { - // This annoymous namespace won't cause ODR violations as I won't - // be linking multiple translation units together. I'll probably - // move this into a cpp file before a full release, but for now it's - // the most convenient way. - struct memory_area { void const* start; void const* end; diff --git a/test/unordered/assign_tests.cpp b/test/unordered/assign_tests.cpp index 09d64408..efe1c157 100644 --- a/test/unordered/assign_tests.cpp +++ b/test/unordered/assign_tests.cpp @@ -103,7 +103,7 @@ UNORDERED_TEST(assign_tests2, ((default_generator)(generate_collisions)) ) -#if !defined(BOOST_NO_INITIALIZER_LISTS) +#if !defined(BOOST_NO_0X_HDR_INITIALIZER_LIST) UNORDERED_AUTO_TEST(assign_initializer_list) { diff --git a/test/unordered/constructor_tests.cpp b/test/unordered/constructor_tests.cpp index a2005cdc..1a73289f 100644 --- a/test/unordered/constructor_tests.cpp +++ b/test/unordered/constructor_tests.cpp @@ -288,7 +288,7 @@ UNORDERED_TEST(map_constructor_test, ((test_map)(test_multimap)) ) -#if !defined(BOOST_NO_INITIALIZER_LISTS) +#if !defined(BOOST_NO_0X_HDR_INITIALIZER_LIST) UNORDERED_AUTO_TEST(test_initializer_list) { std::cerr<<"Initializer List Tests\n";