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