Remove bit fields and use fixed width integers instead.

This commit is contained in:
Marcel Admiraal 2020-09-07 09:54:05 +01:00
parent 9d9ee2d4c2
commit 1bb65b2618

View file

@ -79,10 +79,10 @@ private:
struct Line {
Vector<Gutter> gutters;
int width_cache : 24;
bool marked : 1;
bool hidden : 1;
int wrap_amount_cache : 24;
int32_t width_cache;
bool marked;
bool hidden;
int32_t wrap_amount_cache;
String data;
Line() {
width_cache = 0;