diff options
Diffstat (limited to 'third_party/nix/src/libexpr/get-drvs.cc')
-rw-r--r-- | third_party/nix/src/libexpr/get-drvs.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/get-drvs.cc b/third_party/nix/src/libexpr/get-drvs.cc index ccbb09951f81..8897db4be9b1 100644 --- a/third_party/nix/src/libexpr/get-drvs.cc +++ b/third_party/nix/src/libexpr/get-drvs.cc @@ -171,7 +171,9 @@ StringSet DrvInfo::queryMetaNames() { if (!getMeta()) { return res; } - for (auto& i : *meta) res.insert(i.name); + for (auto& i : *meta) { + res.insert(i.name); + } return res; } |