aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/content-address.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/content-address.cc
parent123b11ff83da0cbcef6e4aae276bfbdd7a183656 (diff)
Revert "Remove some designated initializers"
This reverts commit ee9eb83a842eb97d0180fd9d349d30ff27fdb485.
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 39a31f0a0..a51646d0f 100644
--- a/src/libstore/content-address.cc
+++ b/src/libstore/content-address.cc
@@ -167,13 +167,13 @@ ContentAddressWithReferences caWithoutRefs(const ContentAddress & ca) {
[&](const TextHash & h) -> ContentAddressWithReferences {
return TextInfo {
h,
- /* .references = */ {},
+ .references = {},
};
},
[&](const FixedOutputHash & h) -> ContentAddressWithReferences {
return FixedOutputInfo {
h,
- /* .references = */ {},
+ .references = {},
};
},
}, ca);