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