summaryrefslogtreecommitdiff
path: root/Source/cmReturnCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmReturnCommand.h')
-rw-r--r--Source/cmReturnCommand.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/cmReturnCommand.h b/Source/cmReturnCommand.h
index 4ff81effa7..44cd4c8454 100644
--- a/Source/cmReturnCommand.h
+++ b/Source/cmReturnCommand.h
@@ -25,17 +25,14 @@ public:
/**
* This is a virtual constructor for the command.
*/
- virtual cmCommand* Clone()
- {
- return new cmReturnCommand;
- }
+ virtual cmCommand* Clone() { return new cmReturnCommand; }
/**
* 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,11 +42,9 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual std::string GetName() const {return "return";}
+ virtual std::string GetName() const { return "return"; }
cmTypeMacro(cmReturnCommand, cmCommand);
};
-
-
#endif