2
0
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:
Dave Abrahams
2006-02-23 17:14:59 +00:00
parent 0793267bf0
commit 2bfd2fa0fd

View File

@@ -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()
{