Code Cleanup

- Removed the last uses of 'foreach'.  What remains is only code that
  is being obsoleted, and therefore there is no need to clean that up.
- The definition of 'foreach' in util.h must remain until last.
This commit is contained in:
Paul Beckingham
2011-06-11 15:15:47 -04:00
parent 76b30d8d10
commit 56bc5cf755
3 changed files with 36 additions and 22 deletions

View File

@@ -442,6 +442,7 @@ void TDB::lock (bool lockFile /* = true */)
mCompleted.clear ();
mModified.clear ();
foreach (location, mLocations)
{
location->pending = openAndLock (location->path + "/pending.data");