diff options
| -rw-r--r-- | yt/yt/core/concurrency/coroutine.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/yt/yt/core/concurrency/coroutine.h b/yt/yt/core/concurrency/coroutine.h index 275870456b2..ab827b22666 100644 --- a/yt/yt/core/concurrency/coroutine.h +++ b/yt/yt/core/concurrency/coroutine.h @@ -20,12 +20,6 @@ namespace NYT::NConcurrency { namespace NDetail { -DEFINE_ENUM(ECoroState, - ((Running) (0)) - ((Abandoned) (1)) - ((Completed) (2)) -); - //////////////////////////////////////////////////////////////////////////////// class TCoroutineBase @@ -46,6 +40,12 @@ protected: void Suspend(); private: + enum class ECoroState { + Running, + Abandoned, + Completed, + }; + std::shared_ptr<TExecutionStack> CoroutineStack_; TExceptionSafeContext CallerContext_; |
