Closed psmskelton closed 1 year ago
Changed the Bitset &=, |=, and ^= operator overloads to logical assignments instead of bitwise operators to fix scan warnings.
&=
|=
^=
scan
Since C++11, these are guaranteed to be equivalent operations, except LHS is only evaluated once instead of twice.
Interestingly, I cannot reproduce the scan problems with lua-protobuf on my end.
lua-protobuf
Changed the Bitset
&=
,|=
, and^=
operator overloads to logical assignments instead of bitwise operators to fixscan
warnings.Since C++11, these are guaranteed to be equivalent operations, except LHS is only evaluated once instead of twice.