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