Commit a0ffff02 authored by Ronan's avatar Ronan
Browse files

fix(EnumMask): add int cast on operator^ and operator|

parent bf81680b
Pipeline #288 failed with stage
in 0 seconds
......@@ -118,7 +118,7 @@ public:
}
constexpr EnumMask operator| (T mask) const {
return int(Mask | StorageType(mask));
return int(mMask | StorageType(mask));
}
constexpr EnumMask operator^ (EnumMask mask) const {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment