mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
Drop some moves that would happen anyway but forbid NRVO where appicable
This commit is contained in:
parent
abf7df2b37
commit
54b350d517
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ namespace nix {
|
|||
|
||||
SourcePath EvalState::rootPath(CanonPath path)
|
||||
{
|
||||
return std::move(path);
|
||||
return path;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue