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

ircd::net::dns::cache: Delete copy/move semantics for internal buffers.

This commit is contained in:
Jason Volk 2019-09-10 12:36:51 -07:00
parent 09369b19ff
commit 95a8623a51

View file

@ -73,6 +73,11 @@ struct ircd::net::dns::cache::waiter
strlcpy(keybuf, host(hp))
}
{}
waiter(waiter &&) = delete;
waiter(const waiter &) = delete;
waiter &operator=(waiter &&) = delete;
waiter &operator=(const waiter &) = delete;
};
//
@ -182,4 +187,6 @@ struct ircd::net::dns::tag
tag(tag &&) = delete;
tag(const tag &) = delete;
tag &operator=(tag &&) = delete;
tag &operator=(const tag &) = delete;
};