fixed message flags |= and &= operations

This commit is contained in:
fourtf 2018-01-28 14:45:39 +01:00
parent 88586b53b7
commit c62a91ac2b

View file

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