mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-15 23:20:05 +02:00
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:

committed by
Hans Johnson

parent
8b31c6f0fd
commit
2853b1cdac
@@ -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()
|
||||
|
Reference in New Issue
Block a user