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