From d24190cfdf8107bf640964204a870b2a50b35cf9 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Fri, 18 Nov 2016 13:48:11 -0500 Subject: [PATCH] Add copy special members --- test/websocket/websocket_async_echo_server.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/websocket/websocket_async_echo_server.hpp b/test/websocket/websocket_async_echo_server.hpp index a270ed45..0519deb2 100644 --- a/test/websocket/websocket_async_echo_server.hpp +++ b/test/websocket/websocket_async_echo_server.hpp @@ -41,6 +41,9 @@ private: boost::optional work_; public: + async_echo_server(async_echo_server const&) = delete; + async_echo_server& operator=(async_echo_server const&) = delete; + async_echo_server(std::ostream* log, std::size_t threads) : log_(log)