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