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