1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-13 05:56:03 +01:00

Revert "Remove some designated initializers"

This reverts commit ee9eb83a84.
This commit is contained in:
John Ericson 2023-02-28 11:57:20 -05:00
parent 123b11ff83
commit 85bb865d20
16 changed files with 21 additions and 21 deletions

View file

@ -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);