Remove useless bitfield qualifier

This commit is contained in:
Berkus Decker 2017-11-29 09:38:16 +02:00
parent ea1fc7bbcd
commit aee6eef2a3
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ struct TextSelection {
constexpr bool empty() const { constexpr bool empty() const {
return from == to; return from == to;
} }
uint16_t from : 16; uint16_t from;
uint16_t to : 16; uint16_t to;
}; };
inline bool operator==(TextSelection a, TextSelection b) { inline bool operator==(TextSelection a, TextSelection b) {
return a.from == b.from && a.to == b.to; return a.from == b.from && a.to == b.to;