summaryrefslogtreecommitdiff
path: root/Source/cmOptionCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmOptionCommand.h')
-rw-r--r--Source/cmOptionCommand.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/cmOptionCommand.h b/Source/cmOptionCommand.h
index 12a6472273..491f45e629 100644
--- a/Source/cmOptionCommand.h
+++ b/Source/cmOptionCommand.h
@@ -25,22 +25,19 @@ public:
/**
* This is a virtual constructor for the command.
*/
- virtual cmCommand* Clone()
- {
- return new cmOptionCommand;
- }
+ virtual cmCommand* Clone() { return new cmOptionCommand; }
/**
* 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);
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual std::string GetName() const {return "option";}
+ virtual std::string GetName() const { return "option"; }
/**
* This determines if the command is invoked when in script mode.
@@ -50,6 +47,4 @@ public:
cmTypeMacro(cmOptionCommand, cmCommand);
};
-
-
#endif