summaryrefslogtreecommitdiff
path: root/src/lib/server.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-16 22:20:39 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-16 22:20:39 +0100
commitbfc0b96db6cc6c2e94d93f9c4239adca14a6bb0c (patch)
tree1038f16144cfe58995e31650925f066b67fda677 /src/lib/server.h
parente16c8ed02a0cb1f733a990d75a9de1bf50cf89bd (diff)
More noncopyable.
Diffstat (limited to 'src/lib/server.h')
-rw-r--r--src/lib/server.h4
1 files changed, 3 insertions, 1 deletions
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<const cxml::Node>);
+
+ /* 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> log);