Specialize BOOST_CHECK_MESSAGE handler now that array.cpp uses it.

[SVN r78498]
This commit is contained in:
Ronald Garcia
2012-05-17 15:23:38 +00:00
parent 05cb2eb119
commit 86b8bf0dda

View File

@@ -23,10 +23,18 @@
#include <stdexcept>
namespace boost {
void assertion_failed(char const* expr, char const* function,
char const* file, long line) {
throw std::runtime_error(expr);
}
void assertion_failed_msg(char const * expr, char const * msg,
char const * function,
char const * file, long line) {
throw std::runtime_error(msg);
}
} // namespace boost
using namespace boost;