mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::client: Disallow copying client struct.
This commit is contained in:
parent
b7cb55a58a
commit
f081f4b7cb
1 changed files with 2 additions and 0 deletions
|
@ -219,6 +219,8 @@ struct client
|
|||
char *certfp; /* client certificate fingerprint */
|
||||
|
||||
client();
|
||||
client(const client &) = delete;
|
||||
client &operator=(const client &) = delete;
|
||||
~client() noexcept;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue