diff --git a/src/uvw/poll.hpp b/src/uvw/poll.hpp index 692f7051..34a05810 100644 --- a/src/uvw/poll.hpp +++ b/src/uvw/poll.hpp @@ -32,8 +32,8 @@ enum class UVPollEvent: std::underlying_type_t { * It will be emitted by PollHandle according with its functionalities. */ struct PollEvent: Event { - explicit PollEvent(Flags _flags) noexcept - : flags{std::move(_flags)} + explicit PollEvent(Flags events) noexcept + : flags{std::move(events)} {} /**