diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-04-21T11·52+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2009-04-21T11·52+0000 |
commit | d5eab2fc8293e0d14c7fd297bf7512257442295b (patch) | |
tree | aa987c9496ee667ff59eccab1681b49b363a44cd /src/libstore/upgrade-schema.cc | |
parent | 8f1bf28505e6ba8fae35859391cbab7264b0014a (diff) |
* Use foreach in a lot of places.
Diffstat (limited to 'src/libstore/upgrade-schema.cc')
-rw-r--r-- | src/libstore/upgrade-schema.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/upgrade-schema.cc b/src/libstore/upgrade-schema.cc index 450a7c8d06f5..c2fb8915555d 100644 --- a/src/libstore/upgrade-schema.cc +++ b/src/libstore/upgrade-schema.cc @@ -73,7 +73,7 @@ void LocalStore::upgradeStore12() Paths paths; nixDB.enumTable(noTxn, dbValidPaths, paths); - for (Paths::iterator i = paths.begin(); i != paths.end(); ++i) { + foreach (Paths::iterator, i, paths) { ValidPathInfo info; info.path = *i; |