diff options
Diffstat (limited to 'Source/CTest/cmCTestUpdateCommand.h')
-rw-r--r-- | Source/CTest/cmCTestUpdateCommand.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/CTest/cmCTestUpdateCommand.h b/Source/CTest/cmCTestUpdateCommand.h index fb80333..e807193 100644 --- a/Source/CTest/cmCTestUpdateCommand.h +++ b/Source/CTest/cmCTestUpdateCommand.h @@ -22,24 +22,23 @@ class cmCTestUpdateCommand : public cmCTestHandlerCommand { public: - cmCTestUpdateCommand() {} /** * This is a virtual constructor for the command. */ virtual cmCommand* Clone() - { + { cmCTestUpdateCommand* ni = new cmCTestUpdateCommand; ni->CTest = this->CTest; ni->CTestScriptHandler = this->CTestScriptHandler; return ni; - } + } /** * The name of the command as specified in CMakeList.txt. */ - virtual std::string GetName() const { return "ctest_update";} + virtual std::string GetName() const { return "ctest_update"; } cmTypeMacro(cmCTestUpdateCommand, cmCTestHandlerCommand); @@ -47,5 +46,4 @@ protected: cmCTestGenericHandler* InitializeHandler(); }; - #endif |