diff options
Diffstat (limited to 'Source/cmCMakeMinimumRequired.h')
-rw-r--r-- | Source/cmCMakeMinimumRequired.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/cmCMakeMinimumRequired.h b/Source/cmCMakeMinimumRequired.h index 31b7271..fc73e87 100644 --- a/Source/cmCMakeMinimumRequired.h +++ b/Source/cmCMakeMinimumRequired.h @@ -25,17 +25,14 @@ public: /** * This is a virtual constructor for the command. */ - virtual cmCommand* Clone() - { - return new cmCMakeMinimumRequired; - } + virtual cmCommand* Clone() { return new cmCMakeMinimumRequired; } /** * This is called when the command is first encountered in * the CMakeLists.txt file. */ virtual bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus &status); + cmExecutionStatus& status); /** * This determines if the command is invoked when in script mode. @@ -45,7 +42,7 @@ public: /** * The name of the command as specified in CMakeList.txt. */ - virtual std::string GetName() const {return "cmake_minimum_required";} + virtual std::string GetName() const { return "cmake_minimum_required"; } cmTypeMacro(cmCMakeMinimumRequired, cmCommand); @@ -54,6 +51,4 @@ private: bool EnforceUnknownArguments(); }; - - #endif |