aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/content-address.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/content-address.cc
parent85bb865d200f04b73f183af722757c78d5a3be76 (diff)
No inheritance for `TextInfo` and `FixedOutputInfo`
Diffstat (limited to 'src/libstore/content-address.cc')
-rw-r--r--src/libstore/content-address.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/content-address.cc b/src/libstore/content-address.cc
index a51646d0f..d9a8a4535 100644
--- a/src/libstore/content-address.cc
+++ b/src/libstore/content-address.cc
@@ -166,13 +166,13 @@ ContentAddressWithReferences caWithoutRefs(const ContentAddress & ca) {
return std::visit(overloaded {
[&](const TextHash & h) -> ContentAddressWithReferences {
return TextInfo {
- h,
+ .hash = h,
.references = {},
};
},
[&](const FixedOutputHash & h) -> ContentAddressWithReferences {
return FixedOutputInfo {
- h,
+ .hash = h,
.references = {},
};
},