Use smaller ints for bitflags

This commit is contained in:
Nilstrieb 2023-04-30 19:08:46 +02:00
parent 0dddad0dc5
commit f2645776dc
4 changed files with 4 additions and 4 deletions

View file

@ -101,7 +101,7 @@ use parking_lot::RwLock;
use smallvec::SmallVec;
bitflags::bitflags! {
struct EventFilter: u32 {
struct EventFilter: u16 {
const GENERIC_ACTIVITIES = 1 << 0;
const QUERY_PROVIDERS = 1 << 1;
const QUERY_CACHE_HITS = 1 << 2;