From bfc0b96db6cc6c2e94d93f9c4239adca14a6bb0c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 16 Jul 2013 22:20:39 +0100 Subject: More noncopyable. --- src/lib/server.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/server.h') diff --git a/src/lib/server.h b/src/lib/server.h index 398401a55..e6d374369 100644 --- a/src/lib/server.h +++ b/src/lib/server.h @@ -50,6 +50,8 @@ public: {} ServerDescription (boost::shared_ptr); + + /* Default copy constructor is fine */ /** @return server's host name or IP address in string form */ std::string host_name () const { @@ -80,7 +82,7 @@ private: int _threads; }; -class Server +class Server : public boost::noncopyable { public: Server (boost::shared_ptr log); -- cgit v1.2.3