0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd::ctx: Object semantics on unlock_guard<>.

This commit is contained in:
Jason Volk 2018-08-26 18:01:59 -07:00
parent 600a73d566
commit 04175d62b2

View file

@ -23,6 +23,8 @@ struct ircd::ctx::unlock_guard
lockable &l; lockable &l;
unlock_guard(lockable &l); unlock_guard(lockable &l);
unlock_guard(unlock_guard &&) = delete;
unlock_guard(const unlock_guard &) = delete;
~unlock_guard() noexcept; ~unlock_guard() noexcept;
}; };