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

This commit is contained in:
Max Kellermann 2020-04-23 15:10:56 +02:00
parent e53a4d0a9e
commit e71bd2a08b
1 changed files with 2 additions and 2 deletions

View File

@ -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