diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-02-28 11:57:20 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-02-28 11:57:20 -0500 |
commit | 85bb865d200f04b73f183af722757c78d5a3be76 (patch) | |
tree | c82b05623cf8a02f55dde43e7605aab87aa24aae /src/libstore/binary-cache-store.cc | |
parent | 123b11ff83da0cbcef6e4aae276bfbdd7a183656 (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.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 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, }, |