summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildNameCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmBuildNameCommand.h')
-rw-r--r--Source/cmBuildNameCommand.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmBuildNameCommand.h b/Source/cmBuildNameCommand.h
index 2f7acde..8f8038f 100644
--- a/Source/cmBuildNameCommand.h
+++ b/Source/cmBuildNameCommand.h
@@ -21,7 +21,7 @@ public:
virtual cmCommand* Clone() { return new cmBuildNameCommand; }
virtual bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &status);
- virtual const char* GetName() const {return "build_name";}
+ virtual std::string GetName() const {return "build_name";}
virtual bool IsScriptable() const { return true; }
virtual bool IsDiscouraged() const { return true; }
};