From 53f4c26c4682a951e084415a594fcb8d9494033f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 27 Nov 2021 22:29:53 +0100 Subject: Network: make Server non-copyable Avoids issues with shared_from_this and does not make much sense anyway. --- src/network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network.h') diff --git a/src/network.h b/src/network.h index c4f3d6f..b2cd8be 100644 --- a/src/network.h +++ b/src/network.h @@ -136,7 +136,7 @@ struct WaitingRef optional check(ReplyBuilder &); }; -struct Server::Priv : enable_shared_from_this +struct Server::Priv { Priv(const Head & local, const Identity & self, vector> && svcs); -- cgit v1.2.3