Add some possibly-useful markers for debugging threads from coredumps.
[dcpomatic.git] / src / lib / spl_entry.cc
index 3cb1a9a363b5adecd833bce9d7aca8d84ddefc8a..440f9861b882f56e5b0edeebcd6ec43aadc4361c 100644 (file)
@@ -26,8 +26,8 @@ DCPOMATIC_DISABLE_WARNINGS
 #include <libxml++/libxml++.h>
 DCPOMATIC_ENABLE_WARNINGS
 
-using boost::shared_ptr;
-using boost::dynamic_pointer_cast;
+using std::shared_ptr;
+using std::dynamic_pointer_cast;
 
 SPLEntry::SPLEntry (shared_ptr<Content> content)
 {
@@ -44,11 +44,11 @@ SPLEntry::construct (shared_ptr<Content> c)
                name = dcp->name ();
                DCPOMATIC_ASSERT (dcp->cpl());
                id = *dcp->cpl();
-               kind = dcp->content_kind().get_value_or(dcp::FEATURE);
+               kind = dcp->content_kind().get_value_or(dcp::ContentKind::FEATURE);
                encrypted = dcp->encrypted ();
        } else {
                name = content->path(0).filename().string();
-               kind = dcp::FEATURE;
+               kind = dcp::ContentKind::FEATURE;
        }
 }