aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/binary-cache-store.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-02-28 11:57:20 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-02-28 11:57:20 -0500
commit85bb865d200f04b73f183af722757c78d5a3be76 (patch)
treec82b05623cf8a02f55dde43e7605aab87aa24aae /src/libstore/binary-cache-store.cc
parent123b11ff83da0cbcef6e4aae276bfbdd7a183656 (diff)
Revert "Remove some designated initializers"
This reverts commit ee9eb83a842eb97d0180fd9d349d30ff27fdb485.
Diffstat (limited to 'src/libstore/binary-cache-store.cc')
-rw-r--r--src/libstore/binary-cache-store.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc
index 5617e2c42..9cb0f74f6 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 = {
.others = references,
.self = false,
},
@@ -431,7 +431,7 @@ StorePath BinaryCacheStore::addToStore(
.method = method,
.hash = h,
},
- /* .references = */ {
+ .references = {
.others = references,
.self = false,
},