diff options
-rw-r--r-- | src/coroutine.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coroutine.h b/src/coroutine.h index a054308..3e8269e 100644 --- a/src/coroutine.h +++ b/src/coroutine.h @@ -30,6 +30,10 @@ public: protected: virtual void run() {} +private: // not copyable + Coroutine(const Coroutine &); + Coroutine &operator=(const Coroutine &); + private: // for the original coroutine Coroutine(bool); |