Fix compilation problem in gfx::Rect with clang (related to #618 too)

This commit is contained in:
David Capello 2015-03-26 08:03:53 -03:00
parent e1ef923ea5
commit a37fd89404

View File

@ -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 {