mirror of
https://github.com/boostorg/multi_array.git
synced 2026-01-23 17:52:11 +00:00
Specialize BOOST_CHECK_MESSAGE handler now that array.cpp uses it.
[SVN r78498]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user