aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-06 12:24:20 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-01-06 12:24:20 -0500
commit6a168254ce068c067259c913ee7d6ee2e0d1dc7e (patch)
tree7fd9315876cdca5224a978cba8b0a792bbd6710d /src/libstore/local-store.cc
parent8623143921f8683b88d46aaebe9f707e5b9a912b (diff)
Use named field initialization for references
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r--src/libstore/local-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index a8f060768..9f3a6db24 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -1426,7 +1426,7 @@ StorePath LocalStore::addToStoreFromDump(Source & source0, std::string_view name
.method = method,
.hash = hash,
},
- {
+ .references = {
.references = references,
.hasSelfReference = false,
},