mirror of
https://github.com/NixOS/nix
synced 2025-07-01 16:41:47 +02:00
Use designated initializers for DerivationOutputHash
This commit is contained in:
parent
237d88c97e
commit
145d88cb2a
4 changed files with 10 additions and 9 deletions
|
@ -20,9 +20,6 @@ struct DerivationOutputHash {
|
|||
: method(std::move(method))
|
||||
, hash(std::move(hash))
|
||||
{ }
|
||||
DerivationOutputHash(const DerivationOutputHash &) = default;
|
||||
DerivationOutputHash(DerivationOutputHash &&) = default;
|
||||
DerivationOutputHash & operator = (const DerivationOutputHash &) = default;
|
||||
std::string printMethodAlgo() const;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue