diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-27 19:25:27 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-06-27 21:24:38 (GMT) |
commit | a7a92390964ea5aa7021f71ee69fcc71c4229516 (patch) | |
tree | e3166be65e2636a423a47411c6e107db1f1f6453 /Source/CTest/cmCTestMemCheckCommand.h | |
parent | 9e2d6f0c4d19e1ae1652071ea783ad577ea93e28 (diff) | |
download | CMake-a7a92390964ea5aa7021f71ee69fcc71c4229516.zip CMake-a7a92390964ea5aa7021f71ee69fcc71c4229516.tar.gz CMake-a7a92390964ea5aa7021f71ee69fcc71c4229516.tar.bz2 |
mark functions with CM_OVERRIDE
Diffstat (limited to 'Source/CTest/cmCTestMemCheckCommand.h')
-rw-r--r-- | Source/CTest/cmCTestMemCheckCommand.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestMemCheckCommand.h b/Source/CTest/cmCTestMemCheckCommand.h index 245892c..2ba33ae 100644 --- a/Source/CTest/cmCTestMemCheckCommand.h +++ b/Source/CTest/cmCTestMemCheckCommand.h @@ -29,7 +29,7 @@ public: /** * This is a virtual constructor for the command. */ - virtual cmCommand* Clone() + cmCommand* Clone() CM_OVERRIDE { cmCTestMemCheckCommand* ni = new cmCTestMemCheckCommand; ni->CTest = this->CTest; @@ -40,12 +40,12 @@ public: /** * The name of the command as specified in CMakeList.txt. */ - virtual std::string GetName() const { return "ctest_memcheck"; } + std::string GetName() const CM_OVERRIDE { return "ctest_memcheck"; } cmTypeMacro(cmCTestMemCheckCommand, cmCTestTestCommand); protected: - cmCTestGenericHandler* InitializeActualHandler(); + cmCTestGenericHandler* InitializeActualHandler() CM_OVERRIDE; }; #endif |