1
0
Fork 0
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:
Eelco Dolstra 2019-12-05 18:23:32 +01:00
parent 603b2f583c
commit 092af3c826
2 changed files with 4 additions and 4 deletions

View file

@ -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)
{ }
};