mirror of https://github.com/procxx/kepka.git
Remove useless bitfield qualifier
This commit is contained in:
parent
ea1fc7bbcd
commit
aee6eef2a3
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue