summaryrefslogtreecommitdiff
path: root/Source/cmOptionCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmOptionCommand.h')
-rw-r--r--Source/cmOptionCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmOptionCommand.h b/Source/cmOptionCommand.h
index 89e3ac1229..12a6472273 100644
--- a/Source/cmOptionCommand.h
+++ b/Source/cmOptionCommand.h
@@ -40,7 +40,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() const {return "option";}
+ virtual std::string GetName() const {return "option";}
/**
* This determines if the command is invoked when in script mode.