Add -Wmissing-declarations to the SelfTest project

This required some clean-up in our test files
This commit is contained in:
Martin Hořeňovský
2018-07-02 17:36:13 +02:00
parent 4846ad59e1
commit e1d81174db
7 changed files with 56 additions and 31 deletions
@@ -116,6 +116,8 @@ TEST_CASE("Static arrays are convertible to string", "[toString]") {
}
}
namespace {
struct WhatException : std::exception {
char const* what() const noexcept override {
return "This exception has overriden what() method";
@@ -136,6 +138,8 @@ struct StringMakerException : std::exception {
~StringMakerException() override;
};
} // end anonymous namespace
namespace Catch {
template <>
struct StringMaker<StringMakerException> {