diff --git a/src/util/flagsenum.h b/src/util/flagsenum.h index d8e4c298..a6301db0 100644 --- a/src/util/flagsenum.h +++ b/src/util/flagsenum.h @@ -38,15 +38,15 @@ public: } inline T &operator|=(const Q &a) { - return (T &)((Q &)a |= (Q)this->value); + return (T &)((Q &)this->value |= (Q)a); } inline T &operator&=(const Q &a) { - return (T &)((Q &)a &= (Q)this->value); + return (T &)((Q &)this->value &= (Q)a); } inline T &operator^=(const Q &a) { - return (T &)((Q &)a ^= (Q)this->value); + return (T &)((Q &)this->value ^= (Q)a); } T value;