Merge pull request #6637 from sidkshatriya/small-move-optimization-2

nix-env: A small std::move() optimization
This commit is contained in:
Théophane Hufschmitt 2022-06-10 10:28:37 +02:00 committed by GitHub
commit 17e54a602e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1485,7 +1485,7 @@ static int main_nix_env(int argc, char * * argv)
if (globals.profile == "")
globals.profile = getDefaultProfile();
op(globals, opFlags, opArgs);
op(globals, std::move(opFlags), std::move(opArgs));
globals.state->printStats();