summaryrefslogtreecommitdiff
path: root/Source/cmRemoveCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmRemoveCommand.h')
-rw-r--r--Source/cmRemoveCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmRemoveCommand.h b/Source/cmRemoveCommand.h
index ad739088f1..94161f8e31 100644
--- a/Source/cmRemoveCommand.h
+++ b/Source/cmRemoveCommand.h
@@ -45,7 +45,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() const {return "remove";}
+ virtual std::string GetName() const {return "remove";}
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged() const