diff options
author | Sidharth Kshatriya <sid.kshatriya@gmail.com> | 2022-06-09 16:25:26 +0530 |
---|---|---|
committer | Sidharth Kshatriya <sid.kshatriya@gmail.com> | 2022-06-09 16:25:26 +0530 |
commit | 3efea3d28ad522f947bacd30b74bc388c0dffa5e (patch) | |
tree | b97aa19c9b372d5e48cc4c72fce55d74ec587ae5 | |
parent | 694b12052a2f3c830daa3acc7696b31a04afe329 (diff) |
nix-store: small std::move() optimization
-rw-r--r-- | src/nix-store/nix-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index 9163eefd0..b453ea1ca 100644 --- a/src/nix-store/nix-store.cc +++ b/src/nix-store/nix-store.cc @@ -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; } |