Commit e71bd2a0 authored by Max Kellermann's avatar Max Kellermann

event/PollGroupWinSelect: make EVENT_{READ,WRITE} `static`

parent e53a4d0a
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
#include "PollGroupWinSelect.hxx" #include "PollGroupWinSelect.hxx"
constexpr int EVENT_READ = 0; static constexpr int EVENT_READ = 0;
constexpr int EVENT_WRITE = 1; static constexpr int EVENT_WRITE = 1;
static constexpr static constexpr
bool HasEvent(unsigned events, int event_id) noexcept bool HasEvent(unsigned events, int event_id) noexcept
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment