X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fplaylist.cc;h=287f23fd4f929bb368cf691c225ac22f34f4248c;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hp=48053bbf485aa893ddd903646ee911baaba05bdc;hpb=73713b742a2be95ea736d2d3d889f5b535a0f0f1;p=dcpomatic.git diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index 48053bbf4..287f23fd4 100644 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@ -34,7 +34,7 @@ #include "compose.hpp" #include #include -#include +#include #include #include @@ -48,10 +48,13 @@ using std::max; using std::string; using std::pair; using boost::optional; -using boost::shared_ptr; -using boost::weak_ptr; -using boost::dynamic_pointer_cast; +using std::shared_ptr; +using std::weak_ptr; +using std::dynamic_pointer_cast; using namespace dcpomatic; +#if BOOST_VERSION >= 106100 +using namespace boost::placeholders; +#endif Playlist::Playlist () : _sequence (true) @@ -70,13 +73,6 @@ Playlist::~Playlist () void Playlist::content_change (weak_ptr weak_film, ChangeType type, weak_ptr content, int property, bool frequent) { - /* Make sure we only hear about atomic changes (e.g. a PENDING always with the DONE/CANCELLED) - Ignore any DONE/CANCELLED that arrives without a PENDING. - */ - if (_checker.send (type, property)) { - return; - } - shared_ptr film = weak_film.lock (); DCPOMATIC_ASSERT (film);