aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/binary-cache-store.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-02-28 12:13:43 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-02-28 12:14:11 -0500
commitd381248ec0847cacd918480e83a99287f814456a (patch)
treec5e5cc242a8ba61bab6a2e3339a993fd913126fc /src/libstore/binary-cache-store.cc
parent85bb865d200f04b73f183af722757c78d5a3be76 (diff)
No inheritance for `TextInfo` and `FixedOutputInfo`
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 9cb0f74f6..9eae8d534 100644
--- a/src/libstore/binary-cache-store.cc
+++ b/src/libstore/binary-cache-store.cc
@@ -309,7 +309,7 @@ StorePath BinaryCacheStore::addToStoreFromDump(Source & dump, std::string_view n
*this,
name,
FixedOutputInfo {
- {
+ .hash = {
.method = method,
.hash = nar.first,
},
@@ -427,7 +427,7 @@ StorePath BinaryCacheStore::addToStore(
*this,
name,
FixedOutputInfo {
- {
+ .hash = {
.method = method,
.hash = h,
},