mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
fix(treewide): move arguments where needed
Moving from arguments where it should be done.
This commit is contained in:
parent
af63d67ba5
commit
6c3f720e2c
@ -26,7 +26,7 @@ struct ExtraPathInfoFlake : ExtraPathInfoValue
|
|||||||
Flake flake;
|
Flake flake;
|
||||||
|
|
||||||
ExtraPathInfoFlake(Value && v, Flake && f)
|
ExtraPathInfoFlake(Value && v, Flake && f)
|
||||||
: ExtraPathInfoValue(std::move(v)), flake(f)
|
: ExtraPathInfoValue(std::move(v)), flake(std::move(f))
|
||||||
{ }
|
{ }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ struct ExtraPathInfoValue : ExtraPathInfo
|
|||||||
Value value;
|
Value value;
|
||||||
|
|
||||||
ExtraPathInfoValue(Value && v)
|
ExtraPathInfoValue(Value && v)
|
||||||
: value(v)
|
: value(std::move(v))
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
virtual ~ExtraPathInfoValue() = default;
|
virtual ~ExtraPathInfoValue() = default;
|
||||||
|
Loading…
Reference in New Issue
Block a user