Skip to content

Commit

Permalink
Get rid of unnecessary move
Browse files Browse the repository at this point in the history
  • Loading branch information
ospfranco committed Dec 16, 2024
1 parent 34cb771 commit c7ed807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/DBHostObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ void DBHostObject::create_jsi_functions() {
auto resolve = std::make_shared<jsi::Value>(rt, args[0]);
auto reject = std::make_shared<jsi::Value>(rt, args[1]);

auto task = [this, &rt, query, params = std::move(params), resolve,
auto task = [this, &rt, query, params, resolve,
reject]() {
try {
std::vector<std::vector<JSVariant>> results;
Expand Down

0 comments on commit c7ed807

Please sign in to comment.