summaryrefslogtreecommitdiffstats
path: root/Source/cmWriteFileCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmWriteFileCommand.h')
-rw-r--r--Source/cmWriteFileCommand.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmWriteFileCommand.h b/Source/cmWriteFileCommand.h
index 89dc9ff..b0eef9c 100644
--- a/Source/cmWriteFileCommand.h
+++ b/Source/cmWriteFileCommand.h
@@ -24,17 +24,14 @@ public:
/**
* This is a virtual constructor for the command.
*/
- virtual cmCommand* Clone()
- {
- return new cmWriteFileCommand;
- }
+ virtual cmCommand* Clone() { return new cmWriteFileCommand; }
/**
* 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.
@@ -44,10 +41,9 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual std::string GetName() const { return "write_file";}
+ virtual std::string GetName() const { return "write_file"; }
cmTypeMacro(cmWriteFileCommand, cmCommand);
};
-
#endif