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