diff options
Diffstat (limited to 'Source/cmRemoveDefinitionsCommand.cxx')
-rw-r--r-- | Source/cmRemoveDefinitionsCommand.cxx | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/Source/cmRemoveDefinitionsCommand.cxx b/Source/cmRemoveDefinitionsCommand.cxx index b4be0f5..638eda6 100644 --- a/Source/cmRemoveDefinitionsCommand.cxx +++ b/Source/cmRemoveDefinitionsCommand.cxx @@ -12,20 +12,17 @@ #include "cmRemoveDefinitionsCommand.h" // cmRemoveDefinitionsCommand -bool cmRemoveDefinitionsCommand -::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &) +bool cmRemoveDefinitionsCommand::InitialPass( + std::vector<std::string> const& args, cmExecutionStatus&) { // it is OK to have no arguments - if(args.size() < 1 ) - { + if (args.size() < 1) { return true; - } + } - for(std::vector<std::string>::const_iterator i = args.begin(); - i != args.end(); ++i) - { + for (std::vector<std::string>::const_iterator i = args.begin(); + i != args.end(); ++i) { this->Makefile->RemoveDefineFlag(i->c_str()); - } + } return true; } - |