mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Code Cleanup
- Removed many more uses of the 'foreach' macro.
This commit is contained in:
parent
f9c1820740
commit
61e549c80c
5 changed files with 32 additions and 15 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue