diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-06 12:24:20 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-01-06 12:24:20 -0500 |
commit | 6a168254ce068c067259c913ee7d6ee2e0d1dc7e (patch) | |
tree | 7fd9315876cdca5224a978cba8b0a792bbd6710d /src/libstore/binary-cache-store.cc | |
parent | 8623143921f8683b88d46aaebe9f707e5b9a912b (diff) |
Use named field initialization for references
Diffstat (limited to 'src/libstore/binary-cache-store.cc')
-rw-r--r-- | src/libstore/binary-cache-store.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc index 3bbf4c8ac..aac5e7b88 100644 --- a/src/libstore/binary-cache-store.cc +++ b/src/libstore/binary-cache-store.cc @@ -313,7 +313,7 @@ StorePath BinaryCacheStore::addToStoreFromDump(Source & dump, std::string_view n .method = method, .hash = nar.first, }, - { + .references = { .references = references, .hasSelfReference = false, }, @@ -433,7 +433,7 @@ StorePath BinaryCacheStore::addToStore( .method = method, .hash = h, }, - { + .references = { .references = references, .hasSelfReference = false, }, |