summaryrefslogtreecommitdiff
path: root/Source/cmMessageCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMessageCommand.h')
-rw-r--r--Source/cmMessageCommand.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmMessageCommand.h b/Source/cmMessageCommand.h
index c0ae2a3225..afc5509b64 100644
--- a/Source/cmMessageCommand.h
+++ b/Source/cmMessageCommand.h
@@ -24,22 +24,19 @@ public:
/**
* This is a virtual constructor for the command.
*/
- virtual cmCommand* Clone()
- {
- return new cmMessageCommand;
- }
+ virtual cmCommand* Clone() { return new cmMessageCommand; }
/**
* 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 "message";}
+ virtual std::string GetName() const { return "message"; }
/**
* This determines if the command is invoked when in script mode.
@@ -49,5 +46,4 @@ public:
cmTypeMacro(cmMessageCommand, cmCommand);
};
-
#endif