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