diff options
Diffstat (limited to 'src/lib/server.h')
| -rw-r--r-- | src/lib/server.h | 4 |
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); |
