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
+1 -1
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();