mirror of
https://github.com/osm2pgsql-dev/osm2pgsql.git
synced 2025-08-22 19:42:12 +00:00
Fix skip_test.what() function defs
C++11 wants const noexcept to agree with the virtual definition
This commit is contained in:
@ -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)()) {
|
||||
|
Reference in New Issue
Block a user