std::shared_ptr
[dcpomatic.git] / src / lib / string_text_file.h
index 0091973a46db925d7ab8751c92442f7ca698cc1f..c6fdac1e8834af1238ab481c2eb31f2e76bdea8c 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "dcpomatic_time.h"
 #include <sub/subtitle.h>
-#include <boost/shared_ptr.hpp>
 #include <vector>
 
 class StringTextFileContent;
@@ -41,10 +40,10 @@ class plain_text_parse_test;
 class StringTextFile
 {
 public:
-       explicit StringTextFile (boost::shared_ptr<const StringTextFileContent>);
+       explicit StringTextFile (std::shared_ptr<const StringTextFileContent>);
 
-       boost::optional<ContentTime> first () const;
-       ContentTime length () const;
+       boost::optional<dcpomatic::ContentTime> first () const;
+       dcpomatic::ContentTime length () const;
 
 protected:
        std::vector<sub::Subtitle> _subtitles;