diff options
author | Théophane Hufschmitt <regnat@users.noreply.github.com> | 2021-06-21 16:37:45 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-06-23 08:16:34 +0200 |
commit | c13d7d0b9770741cc7093dc71ec8fc7978171f18 (patch) | |
tree | 90db9ae2a03693e60d84f338329a5b1e71dc5122 /src/libstore/misc.cc | |
parent | dcabb461242e5c38e0a2780dc5869b91c13241d6 (diff) |
Pass more values by reference
Rather than copying them around everywhere
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
Diffstat (limited to 'src/libstore/misc.cc')
-rw-r--r-- | src/libstore/misc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/misc.cc b/src/libstore/misc.cc index 80ee15c49..96d73b70e 100644 --- a/src/libstore/misc.cc +++ b/src/libstore/misc.cc @@ -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; |