fix(treewide): move arguments where needed

Moving from arguments where it should be done.
This commit is contained in:
Sergei Zimmerman 2024-11-08 19:29:41 +03:00
parent af63d67ba5
commit 6c3f720e2c
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ struct ExtraPathInfoFlake : ExtraPathInfoValue
Flake flake;
ExtraPathInfoFlake(Value && v, Flake && f)
: ExtraPathInfoValue(std::move(v)), flake(f)
: ExtraPathInfoValue(std::move(v)), flake(std::move(f))
{ }
};

View file

@ -59,7 +59,7 @@ struct ExtraPathInfoValue : ExtraPathInfo
Value value;
ExtraPathInfoValue(Value && v)
: value(v)
: value(std::move(v))
{ }
virtual ~ExtraPathInfoValue() = default;