mirror of
https://github.com/boostorg/python.git
synced 2026-01-20 16:52:15 +00:00
Add missing exception specification.
[SVN r33090]
This commit is contained in:
@@ -35,6 +35,8 @@ struct test_failure : std::exception
|
||||
test_failure(char const* expr, char const* function, char const* file, unsigned line)
|
||||
: msg(file + boost::python::str(":%s:") % line + ": Boost.Python assertion failure: " + expr)
|
||||
{}
|
||||
|
||||
~test_failure() throw() {}
|
||||
|
||||
char const* what() throw()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user