summaryrefslogtreecommitdiff
path: root/Source/CTest/cmCTestBuildCommand.h
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-27 21:25:27 +0200
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-06-27 23:24:38 +0200
commita7a92390964ea5aa7021f71ee69fcc71c4229516 (patch)
treee3166be65e2636a423a47411c6e107db1f1f6453 /Source/CTest/cmCTestBuildCommand.h
parent9e2d6f0c4d19e1ae1652071ea783ad577ea93e28 (diff)
downloadcmake-a7a92390964ea5aa7021f71ee69fcc71c4229516.tar.gz
mark functions with CM_OVERRIDE
Diffstat (limited to 'Source/CTest/cmCTestBuildCommand.h')
-rw-r--r--Source/CTest/cmCTestBuildCommand.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/CTest/cmCTestBuildCommand.h b/Source/CTest/cmCTestBuildCommand.h
index f420c2f4cd..92ae216aed 100644
--- a/Source/CTest/cmCTestBuildCommand.h
+++ b/Source/CTest/cmCTestBuildCommand.h
@@ -26,12 +26,12 @@ class cmCTestBuildCommand : public cmCTestHandlerCommand
{
public:
cmCTestBuildCommand();
- ~cmCTestBuildCommand();
+ ~cmCTestBuildCommand() CM_OVERRIDE;
/**
* This is a virtual constructor for the command.
*/
- virtual cmCommand* Clone()
+ cmCommand* Clone() CM_OVERRIDE
{
cmCTestBuildCommand* ni = new cmCTestBuildCommand;
ni->CTest = this->CTest;
@@ -42,10 +42,10 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual std::string GetName() const { return "ctest_build"; }
+ std::string GetName() const CM_OVERRIDE { return "ctest_build"; }
- virtual bool InitialPass(std::vector<std::string> const& args,
- cmExecutionStatus& status);
+ bool InitialPass(std::vector<std::string> const& args,
+ cmExecutionStatus& status) CM_OVERRIDE;
cmTypeMacro(cmCTestBuildCommand, cmCTestHandlerCommand);
@@ -65,7 +65,7 @@ protected:
ctb_LAST
};
- cmCTestGenericHandler* InitializeHandler();
+ cmCTestGenericHandler* InitializeHandler() CM_OVERRIDE;
};
#endif