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