diff options
Diffstat (limited to 'Source/cmMathCommand.h')
-rw-r--r-- | Source/cmMathCommand.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Source/cmMathCommand.h b/Source/cmMathCommand.h index 76dc102..3ac6f41 100644 --- a/Source/cmMathCommand.h +++ b/Source/cmMathCommand.h @@ -21,17 +21,14 @@ public: /** * This is a virtual constructor for the command. */ - virtual cmCommand* Clone() - { - return new cmMathCommand; - } + virtual cmCommand* Clone() { return new cmMathCommand; } /** * 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. @@ -41,14 +38,12 @@ public: /** * The name of the command as specified in CMakeList.txt. */ - virtual std::string GetName() const { return "math";} + virtual std::string GetName() const { return "math"; } cmTypeMacro(cmMathCommand, cmCommand); -protected: +protected: bool HandleExprCommand(std::vector<std::string> const& args); }; - #endif - |