Skip to content

Commit 2bfd2fa

Browse files
committed
Add missing exception specification.
[SVN r33090]
1 parent 0793267 commit 2bfd2fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/module_tail.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ struct test_failure : std::exception
3535
test_failure(char const* expr, char const* function, char const* file, unsigned line)
3636
: msg(file + boost::python::str(":%s:") % line + ": Boost.Python assertion failure: " + expr)
3737
{}
38+
39+
~test_failure() throw() {}
3840

3941
char const* what() throw()
4042
{

0 commit comments

Comments
 (0)