summaryrefslogtreecommitdiffstats
path: root/Source/cmListCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmListCommand.h')
-rw-r--r--Source/cmListCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListCommand.h b/Source/cmListCommand.h
index b79ff0d..5ea1d9f 100644
--- a/Source/cmListCommand.h
+++ b/Source/cmListCommand.h
@@ -44,7 +44,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() const { return "list";}
+ virtual std::string GetName() const { return "list";}
cmTypeMacro(cmListCommand, cmCommand);
protected: