Make SSA reader more tolerant of missing styles (DoM #2685).
[libsub.git] / src / stl_binary_reader.h
index 94d68b36686f3b5629ef86d1386ec42563ad04b8..75e328a8fcfcdaa828ec59997f3eeff9e52add64 100644 (file)
@@ -23,6 +23,7 @@
 #include "reader.h"
 #include "stl_binary_tables.h"
 #include <map>
+#include <memory>
 
 namespace sub {
 
@@ -37,7 +38,7 @@ public:
        explicit STLBinaryReader (std::istream& in);
        explicit STLBinaryReader (FILE* in);
 
-       std::map<std::string, std::string> metadata () const;
+       std::map<std::string, std::string> metadata () const override;
 
        int code_page_number;
        int frame_rate;