diff options
Diffstat (limited to 'sources/shiboken6/tests/libminimal/minbool.h')
-rw-r--r-- | sources/shiboken6/tests/libminimal/minbool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libminimal/minbool.h b/sources/shiboken6/tests/libminimal/minbool.h index 4473df975..168ca4863 100644 --- a/sources/shiboken6/tests/libminimal/minbool.h +++ b/sources/shiboken6/tests/libminimal/minbool.h @@ -13,7 +13,7 @@ public: bool value() const { return m_value; } inline MinBool operator!() const { return MinBool(!m_value); } inline MinBool& operator|=(const MinBool& other) { - m_value = m_value | other.m_value; + m_value |= other.m_value; return *this; } |