Skip to content

Commit

Permalink
fix(compile): fix compiler errors on gcc < 4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimkarlsson committed Aug 11, 2013
1 parent 29c5eb6 commit 80dc9f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bandit/assertion_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ namespace bandit { namespace detail {
: std::runtime_error(message), line_number_(0)
{}

//
// To make gcc < 4.7 happy.
//
virtual ~assertion_exception() throw()
{}

const std::string& file_name() const
{
return file_name_;
Expand Down

0 comments on commit 80dc9f4

Please sign in to comment.