diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-27 21:25:27 +0200 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-27 23:24:38 +0200 |
commit | a7a92390964ea5aa7021f71ee69fcc71c4229516 (patch) | |
tree | e3166be65e2636a423a47411c6e107db1f1f6453 /Source/CTest/cmCTestTestCommand.h | |
parent | 9e2d6f0c4d19e1ae1652071ea783ad577ea93e28 (diff) | |
download | cmake-a7a92390964ea5aa7021f71ee69fcc71c4229516.tar.gz |
mark functions with CM_OVERRIDE
Diffstat (limited to 'Source/CTest/cmCTestTestCommand.h')
-rw-r--r-- | Source/CTest/cmCTestTestCommand.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestTestCommand.h b/Source/CTest/cmCTestTestCommand.h index 212213e790..f652971a47 100644 --- a/Source/CTest/cmCTestTestCommand.h +++ b/Source/CTest/cmCTestTestCommand.h @@ -27,7 +27,7 @@ public: /** * This is a virtual constructor for the command. */ - virtual cmCommand* Clone() + cmCommand* Clone() CM_OVERRIDE { cmCTestTestCommand* ni = new cmCTestTestCommand; ni->CTest = this->CTest; @@ -38,13 +38,13 @@ public: /** * The name of the command as specified in CMakeList.txt. */ - virtual std::string GetName() const { return "ctest_test"; } + std::string GetName() const CM_OVERRIDE { return "ctest_test"; } cmTypeMacro(cmCTestTestCommand, cmCTestHandlerCommand); protected: virtual cmCTestGenericHandler* InitializeActualHandler(); - cmCTestGenericHandler* InitializeHandler(); + cmCTestGenericHandler* InitializeHandler() CM_OVERRIDE; enum { |