diff options
Diffstat (limited to 'Source/cmElseCommand.h')
-rw-r--r-- | Source/cmElseCommand.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmElseCommand.h b/Source/cmElseCommand.h index dde5fcc..815825e 100644 --- a/Source/cmElseCommand.h +++ b/Source/cmElseCommand.h @@ -25,17 +25,14 @@ public: /** * This is a virtual constructor for the command. */ - virtual cmCommand* Clone() - { - return new cmElseCommand; - } + virtual cmCommand* Clone() { return new cmElseCommand; } /** * 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,10 +42,9 @@ public: /** * The name of the command as specified in CMakeList.txt. */ - virtual std::string GetName() const { return "else";} + virtual std::string GetName() const { return "else"; } cmTypeMacro(cmElseCommand, cmCommand); }; - #endif |