mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
Eliminate more pass-by-value in variadic calls
This commit is contained in:
parent
603b2f583c
commit
092af3c826
2 changed files with 4 additions and 4 deletions
|
@ -299,7 +299,7 @@ public:
|
|||
int status;
|
||||
|
||||
template<typename... Args>
|
||||
ExecError(int status, Args... args)
|
||||
ExecError(int status, const Args & ... args)
|
||||
: Error(args...), status(status)
|
||||
{ }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue