event/PollGroupWinSelect: make EVENT_{READ,WRITE} `static`
This commit is contained in:
parent
e53a4d0a9e
commit
e71bd2a08b
|
@ -23,8 +23,8 @@
|
|||
|
||||
#include "PollGroupWinSelect.hxx"
|
||||
|
||||
constexpr int EVENT_READ = 0;
|
||||
constexpr int EVENT_WRITE = 1;
|
||||
static constexpr int EVENT_READ = 0;
|
||||
static constexpr int EVENT_WRITE = 1;
|
||||
|
||||
static constexpr
|
||||
bool HasEvent(unsigned events, int event_id) noexcept
|
||||
|
|
Loading…
Reference in New Issue