diff options
Diffstat (limited to 'Source/cmAddDefinitionsCommand.cxx')
-rw-r--r-- | Source/cmAddDefinitionsCommand.cxx | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/Source/cmAddDefinitionsCommand.cxx b/Source/cmAddDefinitionsCommand.cxx index b813e3e..2d0d026 100644 --- a/Source/cmAddDefinitionsCommand.cxx +++ b/Source/cmAddDefinitionsCommand.cxx @@ -12,20 +12,17 @@ #include "cmAddDefinitionsCommand.h" // cmAddDefinitionsCommand -bool cmAddDefinitionsCommand -::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &) +bool cmAddDefinitionsCommand::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->AddDefineFlag(i->c_str()); - } + } return true; } - |