Skip to content

Commit

Permalink
Merge pull request #6 from pdewacht/master
Browse files Browse the repository at this point in the history
Compatibility with GCC 4.6 for lest.hpp
  • Loading branch information
martinmoene committed Feb 6, 2014
2 parents e082103 + 2693a2d commit ac48a17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lest.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ struct message : std::runtime_error
const location where;
const comment note;

~message() throw() {}

message( std::string kind, location where, std::string expr, std::string note = "" )
: std::runtime_error{ expr }, kind{ kind }, where{ where }, note{ note } {}
};
Expand Down

0 comments on commit ac48a17

Please sign in to comment.