mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:17:45 +00:00
Userland: Make bit-fields compatible with MSVC C++ ABI
This commit is contained in:
parent
00928764e9
commit
96d44b1572
5 changed files with 30 additions and 11 deletions
|
@ -37,7 +37,7 @@ public:
|
|||
bool is_marked() const { return m_mark; }
|
||||
void set_marked(bool b) { m_mark = b; }
|
||||
|
||||
enum class State {
|
||||
enum class State : bool {
|
||||
Live,
|
||||
Dead,
|
||||
};
|
||||
|
|
|
@ -109,7 +109,7 @@ private:
|
|||
u32 m_property_count { 0 };
|
||||
|
||||
PropertyAttributes m_attributes { 0 };
|
||||
TransitionType m_transition_type : 6 { TransitionType::Invalid };
|
||||
TransitionType m_transition_type { TransitionType::Invalid };
|
||||
bool m_unique { false };
|
||||
|
||||
// Since unique shapes never change identity, inline caches use this incrementing serial number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue