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