Bitfield: Fix incorrect shift in operator<<=
This commit is contained in:
1 parent
d58dbe04c0
commit
5babc076f5
1 file changed
+1
-1
@@ -88,7 +88,7 @@ struct BitField
|
|||||||
|
|
||||||
BitField& operator<<=(DataType rhs)
|
BitField& operator<<=(DataType rhs)
|
||||||
{
|
{
|
||||||
SetValue(GetValue() >> rhs);
|
SetValue(GetValue() << rhs);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user