mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +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
|
@ -255,8 +255,8 @@ StorePaths Store::topoSortPaths(const StorePathSet & paths)
|
|||
}
|
||||
|
||||
std::map<DrvOutput, StorePath> drvOutputReferences(
|
||||
const std::set<Realisation> inputRealisations,
|
||||
const StorePathSet pathReferences)
|
||||
const std::set<Realisation> & inputRealisations,
|
||||
const StorePathSet & pathReferences)
|
||||
{
|
||||
std::map<DrvOutput, StorePath> res;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue