summaryrefslogtreecommitdiff
path: root/Source/cmSetDirectoryPropertiesCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSetDirectoryPropertiesCommand.h')
-rw-r--r--Source/cmSetDirectoryPropertiesCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSetDirectoryPropertiesCommand.h b/Source/cmSetDirectoryPropertiesCommand.h
index 6240598add..f444a1bb2c 100644
--- a/Source/cmSetDirectoryPropertiesCommand.h
+++ b/Source/cmSetDirectoryPropertiesCommand.h
@@ -37,7 +37,7 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() const { return "set_directory_properties";}
+ virtual std::string GetName() const { return "set_directory_properties";}
/**
* Static entry point for use by other commands