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: 54e6cb8749c7a5229463d888aec943c0e34af3c6
  • Loading branch information
sammy-SC authored and facebook-github-bot committed May 3, 2023
1 parent b78dc64 commit 8028263
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 8028263

Please sign in to comment.