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