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