diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-02-25 01:19:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-08 18:05:39 (GMT) |
commit | 85fc9f26a703f28b356c93d405446c39bba43846 (patch) | |
tree | d69d4dd2a3be73d462350c6ea300448fd3c57178 /Source/cmMacroCommand.cxx | |
parent | 6557382dcffef8ed6b11394cb65775d82f1c0aa7 (diff) | |
download | CMake-85fc9f26a703f28b356c93d405446c39bba43846.zip CMake-85fc9f26a703f28b356c93d405446c39bba43846.tar.gz CMake-85fc9f26a703f28b356c93d405446c39bba43846.tar.bz2 |
stringapi: Command names
Diffstat (limited to 'Source/cmMacroCommand.cxx')
-rw-r--r-- | Source/cmMacroCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx index 499d3c6..9d253b8 100644 --- a/Source/cmMacroCommand.cxx +++ b/Source/cmMacroCommand.cxx @@ -65,7 +65,7 @@ public: /** * The name of the command as specified in CMakeList.txt. */ - virtual const char* GetName() const { return this->Args[0].c_str(); } + virtual std::string GetName() const { return this->Args[0]; } cmTypeMacro(cmMacroHelperCommand, cmCommand); |