Skip to content

Commit

Permalink
Move cancelRequest_ in move ctor in ImageRequest
Browse files Browse the repository at this point in the history
Summary:
changelog: [internal]

Add missing cancelRequest_ std::move.

Reviewed By: javache, cortinico

Differential Revision: D45524704

fbshipit-source-id: 24ed11b6efa49d6b6ad9f725884ec5eecccc0149
  • Loading branch information
sammy-SC authored and facebook-github-bot committed May 3, 2023
1 parent db8ab9e commit 5b33785
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ ImageRequest::ImageRequest(
ImageRequest::ImageRequest(ImageRequest &&other) noexcept
: imageSource_(std::move(other.imageSource_)),
telemetry_(std::move(other.telemetry_)),
coordinator_(std::move(other.coordinator_)) {
coordinator_(std::move(other.coordinator_)),
cancelRequest_(std::move(other.cancelRequest_)) {
other.coordinator_ = nullptr;
other.cancelRequest_ = nullptr;
other.telemetry_ = nullptr;
Expand Down

0 comments on commit 5b33785

Please sign in to comment.