Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2007-09-13 15:31:03


Author: dgregor
Date: 2007-09-13 15:31:03 EDT (Thu, 13 Sep 2007)
New Revision: 39245
URL: http://svn.boost.org/trac/boost/changeset/39245

Log:
Don't use BOOST_TEST_DONT_PRINT_LOG_VALUE if it isn't defined
Text files modified:
   trunk/libs/serialization/test/A.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/libs/serialization/test/A.hpp
==============================================================================
--- trunk/libs/serialization/test/A.hpp (original)
+++ trunk/libs/serialization/test/A.hpp 2007-09-13 15:31:03 EDT (Thu, 13 Sep 2007)
@@ -22,6 +22,7 @@
 #include <cstddef> // size_t
 
 #include <boost/config.hpp>
+
 #if defined(BOOST_NO_STDC_NAMESPACE)
 namespace std{
     using ::rand;
@@ -133,7 +134,9 @@
     friend std::istream & operator>>(std::istream & is, A & a);
 };
 
-BOOST_TEST_DONT_PRINT_LOG_VALUE(A);
+#ifdef BOOST_TEST_DONT_PRINT_LOG_VALUE
+BOOST_TEST_DONT_PRINT_LOG_VALUE(A)
+#endif
 
 template<class S>
 void randomize(S &x)


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