mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd::ctx: Specify missing semantics for promise.
This commit is contained in:
parent
59621eb266
commit
e4b1485db0
1 changed files with 4 additions and 0 deletions
|
@ -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<void>
|
|||
promise();
|
||||
promise(promise &&o) noexcept = default;
|
||||
promise(const promise &);
|
||||
promise &operator=(const promise &) = delete;
|
||||
promise &operator=(promise &&) noexcept = default;
|
||||
~promise() noexcept;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue