Merge pull request #41841 from madmiraal/fix-bit-fields

Remove bit fields and use fixed width integers instead.
This commit is contained in:
Rémi Verschelde 2020-09-12 12:28:59 +02:00 committed by GitHub
commit f29c112492
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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