Slight hack to reduce the chance of config files looking different
[dcpomatic.git] / src / lib / subtitle_analysis.cc
index e6e8f310f4993ab375df09f6e5494dac5264f400..49041151f6260ab44a2ad02d7ee2ae162587ddd4 100644 (file)
@@ -29,7 +29,7 @@ DCPOMATIC_ENABLE_WARNINGS
 
 using std::string;
 using dcp::raw_convert;
-using boost::shared_ptr;
+using std::shared_ptr;
 
 int const SubtitleAnalysis::_current_state_version = 1;
 
@@ -42,7 +42,7 @@ SubtitleAnalysis::SubtitleAnalysis (boost::filesystem::path path)
 
        if (f.optional_number_child<int>("Version").get_value_or(1) < _current_state_version) {
                /* Too old.  Throw an exception so that this analysis is re-run. */
-               throw OldFormatError ("Audio analysis file is too old");
+               throw OldFormatError ("Subtitle analysis file is too old");
        }
 
        cxml::NodePtr bounding_box = f.optional_node_child("BoundingBox");