aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/coroutine/engine/trampoline.h
diff options
context:
space:
mode:
authoralexeylaptev <alexeylaptev@yandex-team.ru>2022-02-10 16:50:06 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:06 +0300
commit3106abc0443cda789ce4968aeee63d3a8fcc7d85 (patch)
treeec44b9884cc11c2a7b4f4dc7fd36a1ae1ba2d3db /library/cpp/coroutine/engine/trampoline.h
parenta76f5e1efe665e1bb125f05ae275b2a6226517d9 (diff)
downloadydb-3106abc0443cda789ce4968aeee63d3a8fcc7d85.tar.gz
Restoring authorship annotation for <alexeylaptev@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/coroutine/engine/trampoline.h')
-rw-r--r--library/cpp/coroutine/engine/trampoline.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/coroutine/engine/trampoline.h b/library/cpp/coroutine/engine/trampoline.h
index 37b61cf015..af45d14c87 100644
--- a/library/cpp/coroutine/engine/trampoline.h
+++ b/library/cpp/coroutine/engine/trampoline.h
@@ -1,8 +1,8 @@
#pragma once
-#include "stack/stack_common.h"
-#include "stack/stack.h"
-
+#include "stack/stack_common.h"
+#include "stack/stack.h"
+
#include <util/generic/noncopyable.h>
#include <util/generic/ptr.h>
#include <util/system/context.h>
@@ -17,8 +17,8 @@ typedef void (*TContFunc)(TCont*, void*);
namespace NCoro {
- namespace NStack {
- class IAllocator;
+ namespace NStack {
+ class IAllocator;
}
class TTrampoline : public ITrampoLine, TNonCopyable {
@@ -26,8 +26,8 @@ namespace NCoro {
typedef std::function<void (TCont*)> TFunc;
TTrampoline(
- NCoro::NStack::IAllocator& allocator,
- uint32_t stackSize,
+ NCoro::NStack::IAllocator& allocator,
+ uint32_t stackSize,
TFunc f,
TCont* cont
) noexcept;
@@ -51,7 +51,7 @@ namespace NCoro {
private:
const char* ContName() const noexcept;
private:
- NStack::TStackHolder Stack_;
+ NStack::TStackHolder Stack_;
const TContClosure Clo_;
TExceptionSafeContext Ctx_;
TFunc Func_;