Code Cleanup

- Removed many more uses of the 'foreach' macro.
This commit is contained in:
Paul Beckingham 2011-06-04 23:02:18 -04:00
parent f9c1820740
commit 61e549c80c
5 changed files with 32 additions and 15 deletions

View file

@ -93,7 +93,8 @@ int CmdLog::execute (std::string& output)
}
// Include tags.
foreach (tag, context.tagAdditions)
std::vector <std::string>::iterator tag;
for (tag = tagAdditions.begin 90; tag != tagAdditions.end (); ++tag)
context.task.addTag (*tag);
// Only valid tasks can be added.