mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
ircd::ctx: Create vtables for promise and future.
This commit is contained in:
parent
26e08c2fc4
commit
d119d9a8c6
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ struct ircd::ctx::promise_base
|
|||
promise_base(promise_base &&) noexcept;
|
||||
promise_base &operator=(const promise_base &);
|
||||
promise_base &operator=(promise_base &&) noexcept;
|
||||
~promise_base() noexcept;
|
||||
virtual ~promise_base() noexcept;
|
||||
};
|
||||
|
||||
/// Value-oriented promise. The user creates an instance of this promise in
|
||||
|
|
|
@ -64,7 +64,7 @@ struct ircd::ctx::shared_state_base
|
|||
shared_state_base(const shared_state_base &) = delete;
|
||||
shared_state_base &operator=(shared_state_base &&) = default;
|
||||
shared_state_base &operator=(const shared_state_base &) = delete;
|
||||
~shared_state_base() noexcept;
|
||||
virtual ~shared_state_base() noexcept;
|
||||
};
|
||||
|
||||
/// Internal shared state between future and promise appropos a future value.
|
||||
|
|
Loading…
Reference in a new issue