COMP: Use C++11 override directly

The override support in C++11 is required so avoid aliasing
this feature.  Compilers that do not support the override keyword
are no longer supported.
This commit is contained in:
Hans Johnson
2019-01-11 13:58:53 -06:00
committed by Hans Johnson
parent 8b31c6f0fd
commit 2853b1cdac
7 changed files with 15 additions and 18 deletions

View File

@@ -262,10 +262,10 @@ TestResult& checkStringEqual(TestResult& result,
} \
\
public: /* overridden from TestCase */ \
const char* testName() const JSONCPP_OVERRIDE { \
const char* testName() const override { \
return #FixtureType "/" #name; \
} \
void runTestCase() JSONCPP_OVERRIDE; \
void runTestCase() override; \
}; \
\
void Test##FixtureType##name::runTestCase()