Fixed a bug in the new internal setFlag function

This commit is contained in:
Uwe Kindler 2019-09-13 14:26:18 +02:00
parent 0c5ef5e158
commit 664a1674ab

View File

@ -174,11 +174,11 @@ void setFlag(T& Flags, typename T::enum_type flag, bool on = true)
#else #else
if(on) if(on)
{ {
d->Features |= flag; Flags |= flag;
} }
else else
{ {
d->Features &= ~flag; Flags &= ~flag;
} }
#endif #endif
} }