diff options
Diffstat (limited to 'library/cpp/coroutine/engine/impl.h')
-rw-r--r-- | library/cpp/coroutine/engine/impl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/coroutine/engine/impl.h b/library/cpp/coroutine/engine/impl.h index 283a96ecf1..b07f8aafbf 100644 --- a/library/cpp/coroutine/engine/impl.h +++ b/library/cpp/coroutine/engine/impl.h @@ -99,8 +99,8 @@ public: void ReSchedule() noexcept; - void Switch() noexcept; - + void Switch() noexcept; + void SwitchTo(TExceptionSafeContext* ctx) { Trampoline_.SwitchTo(ctx); } |