More noncopyable.
[dcpomatic.git] / src / lib / player.h
index 2d8eca9b3264909d5e2b452f7b89e0fe7e4f8f94..568c7a7a116d26da36c27b602bd0a40d51f36ce9 100644 (file)
@@ -41,7 +41,7 @@ class Resampler;
  *  @brief A class which can `play' a Playlist; emitting its audio and video.
  */
  
-class Player : public boost::enable_shared_from_this<Player>
+class Player : public boost::enable_shared_from_this<Player>, public boost::noncopyable
 {
 public:
        Player (boost::shared_ptr<const Film>, boost::shared_ptr<const Playlist>);