aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/remote-store.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/remote-store.cc')
-rw-r--r--src/libstore/remote-store.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index d892e3e62..f54281e0d 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -29,8 +29,7 @@ Path readStorePath(Source & from)
PathSet readStorePaths(Source & from)
{
PathSet paths = readStringSet(from);
- for (PathSet::iterator i = paths.begin(); i != paths.end(); ++i)
- assertStorePath(*i);
+ foreach (PathSet::iterator, i, paths) assertStorePath(*i);
return paths;
}