0
0
Fork 0
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:
Jason Volk 2018-01-15 18:00:54 -08:00
parent 59621eb266
commit e4b1485db0

View file

@ -59,6 +59,8 @@ class ircd::ctx::promise
promise(); promise();
promise(promise &&o) noexcept = default; promise(promise &&o) noexcept = default;
promise(const promise &); promise(const promise &);
promise &operator=(const promise &) = delete;
promise &operator=(promise &&) noexcept = default;
~promise() noexcept; ~promise() noexcept;
}; };
@ -84,6 +86,8 @@ class ircd::ctx::promise<void>
promise(); promise();
promise(promise &&o) noexcept = default; promise(promise &&o) noexcept = default;
promise(const promise &); promise(const promise &);
promise &operator=(const promise &) = delete;
promise &operator=(promise &&) noexcept = default;
~promise() noexcept; ~promise() noexcept;
}; };