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