aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store
diff options
context:
space:
mode:
authorSidharth Kshatriya <sid.kshatriya@gmail.com>2022-06-09 16:25:26 +0530
committerSidharth Kshatriya <sid.kshatriya@gmail.com>2022-06-09 16:25:26 +0530
commit3efea3d28ad522f947bacd30b74bc388c0dffa5e (patch)
treeb97aa19c9b372d5e48cc4c72fce55d74ec587ae5 /src/nix-store
parent694b12052a2f3c830daa3acc7696b31a04afe329 (diff)
nix-store: small std::move() optimization
Diffstat (limited to 'src/nix-store')
-rw-r--r--src/nix-store/nix-store.cc2
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;
}