Fix skip_test.what() function defs

C++11 wants const noexcept to agree with the virtual definition
This commit is contained in:
Paul Norman
2015-07-15 16:56:38 -07:00
parent 1fe832bdb4
commit ec83a3106a
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
namespace {
struct skip_test : public std::exception {
const char *what() { return "Test skipped."; }
const char *what() const noexcept { return "Test skipped."; }
};
void run_test(const char* test_name, void (*testfunc)()) {