diff --git a/include/ircd/ctx/promise.h b/include/ircd/ctx/promise.h index b1e0c6d8b..693b26a50 100644 --- a/include/ircd/ctx/promise.h +++ b/include/ircd/ctx/promise.h @@ -59,6 +59,8 @@ class ircd::ctx::promise promise(); promise(promise &&o) noexcept = default; promise(const promise &); + promise &operator=(const promise &) = delete; + promise &operator=(promise &&) noexcept = default; ~promise() noexcept; }; @@ -84,6 +86,8 @@ class ircd::ctx::promise promise(); promise(promise &&o) noexcept = default; promise(const promise &); + promise &operator=(const promise &) = delete; + promise &operator=(promise &&) noexcept = default; ~promise() noexcept; };