diff options
Diffstat (limited to 'boost/test/data/config.hpp')
-rw-r--r-- | boost/test/data/config.hpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/boost/test/data/config.hpp b/boost/test/data/config.hpp index bedfae5de0..7a9d03be98 100644 --- a/boost/test/data/config.hpp +++ b/boost/test/data/config.hpp @@ -1,4 +1,4 @@ -// (C) Copyright Gennadiy Rozental 2011-2014. +// (C) Copyright Gennadiy Rozental 2001. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) @@ -19,7 +19,6 @@ // STL #include <stdexcept> // for std::logic_error - // availability on features: preprocessed by doxygen #if defined(BOOST_NO_CXX11_HDR_RANDOM) || defined(BOOST_TEST_DOXYGEN_DOC__) @@ -28,7 +27,6 @@ #endif - #if defined(BOOST_NO_CXX11_HDR_TUPLE) || defined(BOOST_TEST_DOXYGEN_DOC__) //! Defined when grid composition of datasets is not available @@ -41,8 +39,7 @@ //____________________________________________________________________________// -#define BOOST_TEST_DS_ERROR( msg ) BOOST_TEST_IMPL_THROW( std::logic_error( msg ) ) -#define BOOST_TEST_DS_ASSERT( cond, msg ) if( cond ) {} else BOOST_TEST_DS_ERROR( msg ) +#define BOOST_TEST_DS_ERROR( msg ) BOOST_TEST_I_THROW( std::logic_error( msg ) ) +#define BOOST_TEST_DS_ASSERT( cond, msg ) BOOST_TEST_I_ASSRT( cond, std::logic_error( msg ) ) #endif // BOOST_TEST_DATA_CONFIG_HPP_112611GER - |