From 4f2d881cb1ed24938fd9462c0bfc8c5b6f917e8b Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Thu, 19 Aug 2010 17:09:22 +0000 Subject: [PATCH] Revert change committed in error [SVN r64929] --- include/boost/detail/lightweight_test.hpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/include/boost/detail/lightweight_test.hpp b/include/boost/detail/lightweight_test.hpp index 8aa76f8..ffa750d 100644 --- a/include/boost/detail/lightweight_test.hpp +++ b/include/boost/detail/lightweight_test.hpp @@ -24,7 +24,6 @@ // #include -#include #include namespace boost @@ -65,31 +64,10 @@ template inline void test_eq_impl( char const * expr1, char co } } -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 )