0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::db::database::env::state: Restrict object semantics.

This commit is contained in:
Jason Volk 2019-07-20 15:08:25 -07:00
parent 2f2bc867fb
commit 556d73d96e

View file

@ -25,6 +25,8 @@ struct ircd::db::database::env::state
std::array<std::unique_ptr<pool>, POOLS> pool;
state(database *const &);
state(state &&) = delete;
state(const state &) = delete;
~state() noexcept;
};
@ -53,6 +55,8 @@ struct ircd::db::database::env::state::pool
void join();
pool(database &, const Priority &);
pool(pool &&) = delete;
pool(const pool &) = delete;
~pool() noexcept;
};