mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
fixed message flags |= and &= operations
This commit is contained in:
parent
88586b53b7
commit
c62a91ac2b
1 changed files with 3 additions and 3 deletions
|
@ -38,15 +38,15 @@ public:
|
||||||
}
|
}
|
||||||
inline T &operator|=(const 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)
|
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)
|
inline T &operator^=(const Q &a)
|
||||||
{
|
{
|
||||||
return (T &)((Q &)a ^= (Q)this->value);
|
return (T &)((Q &)this->value ^= (Q)a);
|
||||||
}
|
}
|
||||||
|
|
||||||
T value;
|
T value;
|
||||||
|
|
Loading…
Reference in a new issue