1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-29 10:02:57 +03:00

Optional: put the bool m_valid after the content to improve packing

This commit is contained in:
Maxime Coste 2015-04-15 11:43:39 +01:00
parent bf02838816
commit ea67724ff5

View File

@ -78,8 +78,8 @@ public:
private:
void destruct_ifn() { if (m_valid) m_value.~T(); }
bool m_valid;
union { T m_value; };
bool m_valid;
};
}