aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine
diff options
context:
space:
mode:
authorrealtim <realtim@yandex-team.ru>2022-02-10 16:50:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:07 +0300
commit1977f1c7bcb225f59f789f5f8735e03eb0c87e1c (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/coroutine/engine
parentb422b6e4645219a4002219ae77f5c4a83ac80b59 (diff)
downloadydb-1977f1c7bcb225f59f789f5f8735e03eb0c87e1c.tar.gz
Restoring authorship annotation for <realtim@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine')
-rw-r--r--library/cpp/coroutine/engine/poller.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/coroutine/engine/poller.cpp b/library/cpp/coroutine/engine/poller.cpp
index b955aad6d0..61164fa56b 100644
--- a/library/cpp/coroutine/engine/poller.cpp
+++ b/library/cpp/coroutine/engine/poller.cpp
@@ -118,12 +118,12 @@ namespace {
public TIntrusiveListItem<TVal>,
public TObjectFromPool<TVal>
{
- // NOTE Constructor must be user-defined (and not =default) here
- // because TVal objects are created in the UB-capable placement
- // TObjectFromPool::new operator that stores data in a memory
- // allocated for the object. Without user defined constructor
- // zero-initialization takes place in TVal() expression and the
- // data is overwritten.
+ // NOTE Constructor must be user-defined (and not =default) here
+ // because TVal objects are created in the UB-capable placement
+ // TObjectFromPool::new operator that stores data in a memory
+ // allocated for the object. Without user defined constructor
+ // zero-initialization takes place in TVal() expression and the
+ // data is overwritten.
TVal() {
}
};