diff options
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 450a7c8d0..c2fb89155 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; |