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:
parent
2f2bc867fb
commit
556d73d96e
1 changed files with 4 additions and 0 deletions
4
include/ircd/db/database/env/state.h
vendored
4
include/ircd/db/database/env/state.h
vendored
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue