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