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