mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02: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
|
@ -31,7 +31,7 @@ std::optional<ContentAddressWithReferences> ValidPathInfo::contentAddressWithRef
|
|||
assert(references.count(path) == 0);
|
||||
return TextInfo {
|
||||
th,
|
||||
/* .references = */ references,
|
||||
.references = references,
|
||||
};
|
||||
},
|
||||
[&](const FixedOutputHash & foh) -> ContentAddressWithReferences {
|
||||
|
@ -43,7 +43,7 @@ std::optional<ContentAddressWithReferences> ValidPathInfo::contentAddressWithRef
|
|||
}
|
||||
return FixedOutputInfo {
|
||||
foh,
|
||||
/* .references = */ {
|
||||
.references = {
|
||||
.others = std::move(refs),
|
||||
.self = hasSelfReference,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue