diff options
Diffstat (limited to 'third_party/nix/src/libstore/local-fs-store.cc')
-rw-r--r-- | third_party/nix/src/libstore/local-fs-store.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/nix/src/libstore/local-fs-store.cc b/third_party/nix/src/libstore/local-fs-store.cc index c1efbb76d827..d9eaea2e93a8 100644 --- a/third_party/nix/src/libstore/local-fs-store.cc +++ b/third_party/nix/src/libstore/local-fs-store.cc @@ -48,7 +48,9 @@ struct LocalStoreAccessor : public FSAccessor { auto entries = nix::readDirectory(realPath); StringSet res; - for (auto& entry : entries) res.insert(entry.name); + for (auto& entry : entries) { + res.insert(entry.name); + } return res; } |