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

@ -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
{