Merge pull request #6635 from sidkshatriya/small-move-optimization

nix-store: small std::move() optimization
This commit is contained in:
Eelco Dolstra 2022-06-09 13:48:48 +02:00 committed by GitHub
commit 1bc17ae617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}