Skip to content

Commit 80dc9f4

Browse files
fix(compile): fix compiler errors on gcc < 4.7
1 parent 29c5eb6 commit 80dc9f4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bandit/assertion_exception.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ namespace bandit { namespace detail {
1414
: std::runtime_error(message), line_number_(0)
1515
{}
1616

17+
//
18+
// To make gcc < 4.7 happy.
19+
//
20+
virtual ~assertion_exception() throw()
21+
{}
22+
1723
const std::string& file_name() const
1824
{
1925
return file_name_;

0 commit comments

Comments
 (0)