mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Fix compilation problem in gfx::Rect with clang (related to #618 too)
This commit is contained in:
parent
e1ef923ea5
commit
a37fd89404
@ -254,13 +254,11 @@ public:
|
||||
}
|
||||
|
||||
const RectT& operator|=(const RectT& rc) {
|
||||
RectT::operator=(createUnion(rc));
|
||||
return *this;
|
||||
return *this = createUnion(rc);
|
||||
}
|
||||
|
||||
const RectT& operator&=(const RectT& rc) {
|
||||
RectT::operator=(createIntersect(rc));
|
||||
return *this;
|
||||
return *this = createIntersect(rc);
|
||||
}
|
||||
|
||||
RectT operator+(const BorderT<T>& br) const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user