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