Missing virtual destructor.
authorCarl Hetherington <cth@carlh.net>
Mon, 22 Dec 2014 00:16:57 +0000 (00:16 +0000)
committerCarl Hetherington <cth@carlh.net>
Mon, 22 Dec 2014 00:16:57 +0000 (00:16 +0000)
src/reader.h

index 235fa81981c3cd9d692ecd088dd426b593746a05..091df61161851ed6fb9f28df68290db4f71f558f 100644 (file)
@@ -35,6 +35,8 @@ namespace sub {
 class Reader
 {
 public:
+       virtual ~Reader () {}
+       
        std::list<RawSubtitle> subtitles () const {
                return _subs;
        }