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