summaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine
diff options
context:
space:
mode:
authortimestep <[email protected]>2022-02-10 16:49:17 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:49:17 +0300
commit38b4bd28ca420294f532ac7ca6b2770d60e3dfd0 (patch)
tree7570cb7cabf97af7ecb6ffe485e8037d516daa29 /library/cpp/coroutine
parenta0ffafe83b7d6229709a32fa942c71d672ac989c (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/coroutine')
-rw-r--r--library/cpp/coroutine/engine/cont_poller.h2
-rw-r--r--library/cpp/coroutine/listener/listen.cpp8
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 b638b2df1af..2211ef3a9f1 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 3d4e711d1d5..d327847bcb9 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)));
}
}