Remove use of boost::noncopyable
authorCarl Hetherington <cth@carlh.net>
Sat, 13 Feb 2021 23:29:48 +0000 (00:29 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 14 Feb 2021 20:40:06 +0000 (21:40 +0100)
src/lib/player.h

index 0b0c9fa..ce49af1 100644 (file)
@@ -67,13 +67,15 @@ public:
 /** @class Player
  *  @brief A class which can play a Playlist.
  */
-class Player : public std::enable_shared_from_this<Player>, public boost::noncopyable
+class Player : public std::enable_shared_from_this<Player>
 {
 public:
        Player (std::shared_ptr<const Film>);
        Player (std::shared_ptr<const Film>, std::shared_ptr<const Playlist> playlist);
        ~Player ();
 
+       Player (Player const& Player) = delete;
+       Player& operator= (Player const& Player) = delete;
        bool pass ();
        void seek (dcpomatic::DCPTime time, bool accurate);