Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64929 - trunk/boost/detail
From: bdawes_at_[hidden]
Date: 2010-08-19 13:09:23


Author: bemandawes
Date: 2010-08-19 13:09:22 EDT (Thu, 19 Aug 2010)
New Revision: 64929
URL: http://svn.boost.org/trac/boost/changeset/64929

Log:
Revert change committed in error
Text files modified:
   trunk/boost/detail/lightweight_test.hpp | 22 ----------------------
   1 files changed, 0 insertions(+), 22 deletions(-)

Modified: trunk/boost/detail/lightweight_test.hpp
==============================================================================
--- trunk/boost/detail/lightweight_test.hpp (original)
+++ trunk/boost/detail/lightweight_test.hpp 2010-08-19 13:09:22 EDT (Thu, 19 Aug 2010)
@@ -24,7 +24,6 @@
 //
 
 #include <boost/current_function.hpp>
-#include <boost/assert.hpp>
 #include <iostream>
 
 namespace boost
@@ -65,31 +64,10 @@
     }
 }
 
-struct report_errors_reminder
-{
- bool remembered_to_call_report_errors_function;
- report_errors_reminder() : remembered_to_call_report_errors_function(false) {}
- ~report_errors_reminder()
- {
- BOOST_ASSERT(remembered_to_call_report_errors_function);
- }
-};
-
 } // namespace detail
 
-} // namespace boost
-namespace
-{
- boost::detail::report_errors_reminder boost_report_errors_reminder;
-}
-
-namespace boost
-{
-
 inline int report_errors()
 {
- boost_report_errors_reminder.remembered_to_call_report_errors_function = true;
-
     int errors = detail::test_errors();
 
     if( errors == 0 )


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