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