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