X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Ftext_subtitle_content.cc;h=24a328d088e3c05001f9be31f2f1b614233010da;hp=ea56ac7bb0c9d531f19e8e96cae29ff9fb2e80b4;hb=a8a0dfd1b21de6c0facf965ab119833ff6f790bf;hpb=e669b562937786bf5b771c927cc03a4074b01be8 diff --git a/src/lib/text_subtitle_content.cc b/src/lib/text_subtitle_content.cc index ea56ac7bb..24a328d08 100644 --- a/src/lib/text_subtitle_content.cc +++ b/src/lib/text_subtitle_content.cc @@ -26,7 +26,6 @@ #include "raw_convert.h" #include "subtitle_content.h" #include -#include #include #include "i18n.h" @@ -34,7 +33,6 @@ using std::string; using std::cout; using boost::shared_ptr; -using boost::make_shared; TextSubtitleContent::TextSubtitleContent (shared_ptr film, boost::filesystem::path path) : Content (film, path) @@ -60,7 +58,7 @@ TextSubtitleContent::examine (boost::shared_ptr job) boost::mutex::scoped_lock lm (_mutex); _length = s.length (); - subtitle->add_font (make_shared (TEXT_FONT_ID)); + subtitle->add_font (shared_ptr (new Font (TEXT_FONT_ID))); } string