summaryrefslogtreecommitdiffstats
path: root/Source/cmAddDefinitionsCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmAddDefinitionsCommand.cxx')
-rw-r--r--Source/cmAddDefinitionsCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmAddDefinitionsCommand.cxx b/Source/cmAddDefinitionsCommand.cxx
index 261fb5b..62e57a3 100644
--- a/Source/cmAddDefinitionsCommand.cxx
+++ b/Source/cmAddDefinitionsCommand.cxx
@@ -16,7 +16,7 @@ bool cmAddDefinitionsCommand::InitialPass(std::vector<std::string> const& args,
}
for (std::string const& i : args) {
- this->Makefile->AddDefineFlag(i.c_str());
+ this->Makefile->AddDefineFlag(i);
}
return true;
}