mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-04 12:28:35 +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
|
@ -121,10 +121,10 @@ void TransportCurl::recv(std::string target)
|
|||
split (splitted, toSplit.substr(0, pos), ',');
|
||||
|
||||
target = "";
|
||||
foreach (file, splitted)
|
||||
{
|
||||
|
||||
std::vector <std::string>::iterator file;
|
||||
for (file = splitted.begin (); file != splitted.end (); ++file)
|
||||
target += " -o " + prefix + *file + suffix;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue