]> git.sesse.net Git - vlc/commitdiff
mkv: removing virtual destructors for classes that are never inherited.
authorHugo Beauzée-Luyssen <beauze.h@gmail.com>
Mon, 17 Oct 2011 17:57:05 +0000 (19:57 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 18 Oct 2011 10:20:45 +0000 (12:20 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/mkv/mkv.hpp

index e1027a7cca818a36856c1cd8275b9cec0b6aa8fa..228ef8cd28ebb171d89e1c796e64d4fdd3f038fc 100644 (file)
@@ -134,7 +134,7 @@ public:
     {
         p_data = NULL;
     }
-    virtual ~attachment_c() { free( p_data ); }
+    ~attachment_c() { free( p_data ); }
 
     /* Allocs the data space. Returns true if allocation went ok */
     bool init()
@@ -159,7 +159,7 @@ class matroska_stream_c
 {
 public:
     matroska_stream_c() :p_io_callback(NULL) ,p_estream(NULL) {}
-    virtual ~matroska_stream_c()
+    ~matroska_stream_c()
     {
         delete p_io_callback;
         delete p_estream;