diff options
author | prime <prime@yandex-team.ru> | 2022-02-10 16:46:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:01 +0300 |
commit | e34f3f0e381020a427f44fbd50463d9a04089db3 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/network/pollerimpl.h | |
parent | 3695a7cd42b74a4987d8d5a8f2e2443556998943 (diff) | |
download | ydb-e34f3f0e381020a427f44fbd50463d9a04089db3.tar.gz |
Restoring authorship annotation for <prime@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/network/pollerimpl.h')
-rw-r--r-- | util/network/pollerimpl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/network/pollerimpl.h b/util/network/pollerimpl.h index d417a1ad4a..e8c7e40fba 100644 --- a/util/network/pollerimpl.h +++ b/util/network/pollerimpl.h @@ -204,8 +204,8 @@ class TEpollPoller { public: typedef struct ::epoll_event TEvent; - inline TEpollPoller(bool closeOnExec = false) - : Fd_(epoll_create1(closeOnExec ? EPOLL_CLOEXEC : 0)) + inline TEpollPoller(bool closeOnExec = false) + : Fd_(epoll_create1(closeOnExec ? EPOLL_CLOEXEC : 0)) { if (Fd_ == -1) { ythrow TSystemError() << "epoll_create failed"; @@ -655,8 +655,8 @@ static inline TDuration PollStep(const TInstant& deadLine, const TInstant& now) template <class TBase> class TGenericPoller: public TBase { public: - using TBase::TBase; - + using TBase::TBase; + using TEvent = typename TBase::TEvent; inline void Set(void* data, SOCKET fd, int what) { |