mirror of
https://github.com/NixOS/nix
synced 2025-07-01 00:07:58 +02:00
Pass more values by reference
Rather than copying them around everywhere Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
parent
dcabb46124
commit
c13d7d0b97
3 changed files with 6 additions and 6 deletions
|
@ -44,8 +44,8 @@ struct Realisation {
|
|||
bool checkSignature(const PublicKeys & publicKeys, const std::string & sig) const;
|
||||
size_t checkSignatures(const PublicKeys & publicKeys) const;
|
||||
|
||||
static std::set<Realisation> closure(Store &, std::set<Realisation>);
|
||||
static void closure(Store &, std::set<Realisation>, std::set<Realisation>& res);
|
||||
static std::set<Realisation> closure(Store &, const std::set<Realisation> &);
|
||||
static void closure(Store &, const std::set<Realisation> &, std::set<Realisation>& res);
|
||||
|
||||
StorePath getPath() const { return outPath; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue