Remove useless bitfield qualifier

This commit is contained in:
Berkus Decker 2017-12-20 03:03:41 +02:00 committed by Berkus Decker
parent e9184f9ab5
commit c417b45469
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;
} }
quint16 from : 16; quint16 from;
quint16 to : 16; quint16 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;