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:
parent
123b11ff83
commit
85bb865d20
16 changed files with 21 additions and 21 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue