diff options
author | timestep <timestep@yandex-team.ru> | 2022-02-10 16:49:17 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:17 +0300 |
commit | 30f4921b0fa8722e5531e72cb40a93b526f6973a (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/coroutine | |
parent | 38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (diff) | |
download | ydb-30f4921b0fa8722e5531e72cb40a93b526f6973a.tar.gz |
Restoring authorship annotation for <timestep@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/coroutine')
-rw-r--r-- | library/cpp/coroutine/engine/cont_poller.h | 2 | ||||
-rw-r--r-- | library/cpp/coroutine/listener/listen.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/coroutine/engine/cont_poller.h b/library/cpp/coroutine/engine/cont_poller.h index 2211ef3a9f1..b638b2df1af 100644 --- a/library/cpp/coroutine/engine/cont_poller.h +++ b/library/cpp/coroutine/engine/cont_poller.h @@ -111,7 +111,7 @@ namespace NCoro { T* Get(size_t index) { TRef& ret = Lst_.Get(index); if (!ret) { - ret = TRef(new (&Pool_) TValue()); + ret = TRef(new (&Pool_) TValue()); } return ret.Get(); } diff --git a/library/cpp/coroutine/listener/listen.cpp b/library/cpp/coroutine/listener/listen.cpp index d327847bcb9..3d4e711d1d5 100644 --- a/library/cpp/coroutine/listener/listen.cpp +++ b/library/cpp/coroutine/listener/listen.cpp @@ -234,10 +234,10 @@ public: switch (sa.Sa->sa_family) { case AF_INET: - L_.PushBack(new TOneSocketListener(this, MakeHolder<TIPv4Addr>(*sa.In))); + L_.PushBack(new TOneSocketListener(this, MakeHolder<TIPv4Addr>(*sa.In))); break; case AF_INET6: - L_.PushBack(new TOneSocketListener(this, MakeHolder<TIPv6Addr>(*sa.In6))); + L_.PushBack(new TOneSocketListener(this, MakeHolder<TIPv6Addr>(*sa.In6))); break; default: ythrow yexception() << TStringBuf("unknown protocol"); @@ -245,12 +245,12 @@ public: } inline void Bind(const TIpAddress& addr) { - L_.PushBack(new TOneSocketListener(this, MakeHolder<TIPv4Addr>(addr))); + L_.PushBack(new TOneSocketListener(this, MakeHolder<TIPv4Addr>(addr))); } inline void Bind(const TNetworkAddress& addr) { for (TNetworkAddress::TIterator it = addr.Begin(); it != addr.End(); ++it) { - L_.PushBack(new TOneSocketListener(this, MakeHolder<TStoredAddrInfo>(&*it, addr))); + L_.PushBack(new TOneSocketListener(this, MakeHolder<TStoredAddrInfo>(&*it, addr))); } } |