From e71bd2a08b60292c4d5672501e0972c2a97fd398 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 23 Apr 2020 15:10:56 +0200 Subject: [PATCH] event/PollGroupWinSelect: make EVENT_{READ,WRITE} `static` --- src/event/PollGroupWinSelect.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/event/PollGroupWinSelect.cxx b/src/event/PollGroupWinSelect.cxx index 7fac95ecc..4e80fa130 100644 --- a/src/event/PollGroupWinSelect.cxx +++ b/src/event/PollGroupWinSelect.cxx @@ -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