diff options
Diffstat (limited to 'Source/cmRemoveDefinitionsCommand.cxx')
-rw-r--r-- | Source/cmRemoveDefinitionsCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmRemoveDefinitionsCommand.cxx b/Source/cmRemoveDefinitionsCommand.cxx index 8311b4b..8d3f688 100644 --- a/Source/cmRemoveDefinitionsCommand.cxx +++ b/Source/cmRemoveDefinitionsCommand.cxx @@ -16,7 +16,7 @@ bool cmRemoveDefinitionsCommand::InitialPass( } for (std::string const& i : args) { - this->Makefile->RemoveDefineFlag(i.c_str()); + this->Makefile->RemoveDefineFlag(i); } return true; } |