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