Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-01-12 07:53:12


Author: danieljames
Date: 2008-01-12 07:53:12 EST (Sat, 12 Jan 2008)
New Revision: 42694
URL: http://svn.boost.org/trac/boost/changeset/42694

Log:
Clean up the header usage in some of the recent changes.
Text files modified:
   branches/unordered/trunk/libs/unordered/test/objects/exception.hpp | 5 ++---
   branches/unordered/trunk/libs/unordered/test/objects/memory.hpp | 9 +++++++--
   2 files changed, 9 insertions(+), 5 deletions(-)

Modified: branches/unordered/trunk/libs/unordered/test/objects/exception.hpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/objects/exception.hpp (original)
+++ branches/unordered/trunk/libs/unordered/test/objects/exception.hpp 2008-01-12 07:53:12 EST (Sat, 12 Jan 2008)
@@ -16,15 +16,14 @@
 #endif
 
 #include <cstddef>
+#include <iostream>
 #include <boost/limits.hpp>
 #include <boost/preprocessor/seq/for_each_product.hpp>
 #include <boost/preprocessor/seq/elem.hpp>
 #include <boost/preprocessor/cat.hpp>
-#include <iostream>
 #include "../helpers/fwd.hpp"
 #include "../helpers/allocator.hpp"
-#include "memory.hpp"
-#include <map>
+#include "./memory.hpp"
 
 #define RUN_EXCEPTION_TESTS(test_seq, param_seq) \
     UNORDERED_EXCEPTION_TEST_PREFIX \

Modified: branches/unordered/trunk/libs/unordered/test/objects/memory.hpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/objects/memory.hpp (original)
+++ branches/unordered/trunk/libs/unordered/test/objects/memory.hpp 2008-01-12 07:53:12 EST (Sat, 12 Jan 2008)
@@ -6,16 +6,21 @@
 #if !defined(BOOST_UNORDERED_TEST_MEMORY_HEADER)
 #define BOOST_UNORDERED_TEST_MEMORY_HEADER
 
-#include <boost/mpl/apply.hpp>
-
+#include <memory>
 #if defined(BOOST_UNORDERED_EXCEPTION_USE_TEST)
+#include <boost/test/test_tools.hpp>
 #define UNORDERED_CHECK(x) BOOST_CHECK(x)
 #define UNORDERED_REQUIRE(x) BOOST_REQUIRE(x)
 #else
+#include <boost/detail/lightweight_test.hpp>
 #define UNORDERED_CHECK(x) BOOST_TEST(x)
 #define UNORDERED_REQUIRE(x) if(!(x)) { BOOST_ERROR(BOOST_STRINGIZE(x)); throw test::lightweight::test_failure(); }
 #endif
 
+#include <map>
+#include <boost/mpl/apply.hpp>
+#include <boost/assert.hpp>
+
 namespace test
 {
     namespace detail


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