Skip to content

Commit

Permalink
SaveLayerOptions explicit copy operator (flutter#31934)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmagman authored Mar 9, 2022
1 parent 2c1816b commit 9d3dc67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions display_list/display_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ class SaveLayerOptions {
return options;
}

SaveLayerOptions& operator=(const SaveLayerOptions& other) {
flags_ = other.flags_;
return *this;
}
bool operator==(const SaveLayerOptions& other) const {
return flags_ == other.flags_;
}
Expand Down

0 comments on commit 9d3dc67

Please sign in to comment.