add virtual destructor because of iObject
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 27 May 2004 11:58:37 +0000 (11:58 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 27 May 2004 11:58:37 +0000 (11:58 +0000)
lib/nav/playlist.cpp
lib/nav/playlist.h

index 4891992..7a96bcd 100644 (file)
@@ -5,3 +5,7 @@ DEFINE_REF(ePlaylist);
 ePlaylist::ePlaylist(): ref(0)
 {
 }
 ePlaylist::ePlaylist(): ref(0)
 {
 }
+
+ePlaylist::~ePlaylist()
+{
+}
index f07ecb4..6d89406 100644 (file)
@@ -5,11 +5,12 @@
 #include <lib/base/object.h>
 #include <lib/service/iservice.h>
 
 #include <lib/base/object.h>
 #include <lib/service/iservice.h>
 
-class ePlaylist: public virtual iObject, public std::list<eServiceReference>
+class ePlaylist: public iObject, public std::list<eServiceReference>
 {
 DECLARE_REF;
 public:
        ePlaylist();
 {
 DECLARE_REF;
 public:
        ePlaylist();
+       virtual ~ePlaylist();
        std::list<eServiceReference>::iterator m_current;
 };
 
        std::list<eServiceReference>::iterator m_current;
 };