Support subs and tidy up a few things.
[dcpomatic.git] / src / wx / timeline_text_content_view.cc
index 934bf1fc4be12eb812da60a0a9253d08bf99536d..722a9f30a30e45cce7628bda6eaff1f727f8eace 100644 (file)
@@ -22,7 +22,7 @@
 #include "lib/text_content.h"
 #include "lib/content.h"
 
-using boost::shared_ptr;
+using std::shared_ptr;
 
 TimelineTextContentView::TimelineTextContentView (Timeline& tl, shared_ptr<Content> c, shared_ptr<TextContent> caption)
        : TimelineContentView (tl, c)
@@ -54,7 +54,5 @@ TimelineTextContentView::foreground_colour () const
 bool
 TimelineTextContentView::active () const
 {
-       shared_ptr<Content> c = _content.lock ();
-       DCPOMATIC_ASSERT (c);
        return _caption->use();
 }