nix-store: small std::move() optimization

This commit is contained in:
Sidharth Kshatriya 2022-06-09 16:25:26 +05:30
parent 694b12052a
commit 3efea3d28a

View file

@ -1093,7 +1093,7 @@ static int main_nix_store(int argc, char * * argv)
if (op != opDump && op != opRestore) /* !!! hack */
store = openStore();
op(opFlags, opArgs);
op(std::move(opFlags), std::move(opArgs));
return 0;
}