More noncopyable.
[dcpomatic.git] / src / lib / server.h
index 398401a555dd1eff784ad1d2289677e5258660f2..e6d3743691e09cc2b3054300e8683031b5534ea1 100644 (file)
@@ -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);