summaryrefslogtreecommitdiff
path: root/src/lib/text_subtitle_content.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/text_subtitle_content.cc')
-rw-r--r--src/lib/text_subtitle_content.cc4
1 files changed, 1 insertions, 3 deletions
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 <libxml++/libxml++.h>
-#include <boost/make_shared.hpp>
#include <iostream>
#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<const Film> film, boost::filesystem::path path)
: Content (film, path)
@@ -60,7 +58,7 @@ TextSubtitleContent::examine (boost::shared_ptr<Job> job)
boost::mutex::scoped_lock lm (_mutex);
_length = s.length ();
- subtitle->add_font (make_shared<Font> (TEXT_FONT_ID));
+ subtitle->add_font (shared_ptr<Font> (new Font (TEXT_FONT_ID)));
}
string