diff options
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/gc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index 113a7da15411..5c5c07e4c481 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -372,9 +372,9 @@ static void addAdditionalRoots(StoreAPI & store, PathSet & roots) string result = runProgram(rootFinder); - Strings paths = tokenizeString<Strings>(result, "\n"); + StringSet paths = tokenizeString<StringSet>(result, "\n"); - foreach (Strings::iterator, i, paths) { + foreach (StringSet::iterator, i, paths) { if (isInStore(*i)) { Path path = toStorePath(*i); if (roots.find(path) == roots.end() && store.isValidPath(path)) { |