Skip to content

Commit

Permalink
std::move in DFU process
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel committed Aug 15, 2024
1 parent cd2dd27 commit 38d984e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/device-model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ namespace rs2
else return; // Aborted by the user
}

auto manager = std::make_shared<firmware_update_manager>(viewer.not_model, *this, dev, viewer.ctx, data, true);
auto manager = std::make_shared<firmware_update_manager>(viewer.not_model, *this, dev, viewer.ctx, std::move( data ), true);

auto n = std::make_shared<fw_update_notification_model>(
"Manual Update requested", manager, true);
Expand Down

0 comments on commit 38d984e

Please sign in to comment.