diff --git a/src/gfx/rect.h b/src/gfx/rect.h index 57cdf0754..4b29a7a13 100644 --- a/src/gfx/rect.h +++ b/src/gfx/rect.h @@ -254,12 +254,12 @@ public: } const RectT& operator|=(const RectT& rc) { - operator=(createUnion(rc)); + RectT::operator=(createUnion(rc)); return *this; } const RectT& operator&=(const RectT& rc) { - operator=(createIntersect(rc)); + RectT::operator=(createIntersect(rc)); return *this; }