File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -747,8 +747,8 @@ class LinearLayout {
747
747
748
748
std::string toString () const ;
749
749
750
- friend bool operator ==(LinearLayout lhs, LinearLayout rhs);
751
- friend bool operator !=(LinearLayout lhs, LinearLayout rhs) {
750
+ friend bool operator ==(const LinearLayout & lhs, const LinearLayout & rhs);
751
+ friend bool operator !=(const LinearLayout & lhs, const LinearLayout & rhs) {
752
752
return !(lhs == rhs);
753
753
}
754
754
bool equalIgnoringOutDimSizes (const LinearLayout &other) const ;
Original file line number Diff line number Diff line change @@ -1130,7 +1130,7 @@ size_t hash_value(const LinearLayout &layout) {
1130
1130
return seed;
1131
1131
}
1132
1132
1133
- bool operator ==(LinearLayout lhs, LinearLayout rhs) {
1133
+ bool operator ==(const LinearLayout & lhs, const LinearLayout & rhs) {
1134
1134
if (!lhs.equalIgnoringOutDimSizes (rhs))
1135
1135
return false ;
1136
1136
You can’t perform that action at this time.
0 commit comments