diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/lib/encoder.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/lib/encoder.h')
| -rw-r--r-- | src/lib/encoder.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/encoder.h b/src/lib/encoder.h index 792029a91..78c1f9908 100644 --- a/src/lib/encoder.h +++ b/src/lib/encoder.h @@ -23,7 +23,6 @@ #include "types.h" #include "player_text.h" -#include <boost/weak_ptr.hpp> #include <boost/signals2.hpp> class Film; @@ -37,7 +36,7 @@ class AudioBuffers; class Encoder : public boost::noncopyable { public: - Encoder (boost::shared_ptr<const Film> film, boost::weak_ptr<Job> job); + Encoder (std::shared_ptr<const Film> film, std::weak_ptr<Job> job); virtual ~Encoder () {} virtual void go () = 0; @@ -52,9 +51,9 @@ public: virtual bool finishing () const = 0; protected: - boost::shared_ptr<const Film> _film; - boost::weak_ptr<Job> _job; - boost::shared_ptr<Player> _player; + std::shared_ptr<const Film> _film; + std::weak_ptr<Job> _job; + std::shared_ptr<Player> _player; }; #endif |
