fix virtual destructor warnings trunk
authornathan
Tue, 29 Dec 2009 10:57:29 +0100
branchtrunk
changeset 35efc694fccc45
parent 34 afc13760179b
child 36 244d48301acc
fix virtual destructor warnings
decoder-ogg.h
     1.1 --- a/decoder-ogg.h	Sun Dec 06 08:48:57 2009 +0800
     1.2 +++ b/decoder-ogg.h	Tue Dec 29 10:57:29 2009 +0100
     1.3 @@ -48,7 +48,7 @@
     1.4    void Error(const char *action, const int err);
     1.5  public:
     1.6    cOggFile(const char *Filename);
     1.7 -  ~cOggFile();
     1.8 +  virtual ~cOggFile();
     1.9    virtual bool Open(bool log=true);
    1.10    void Close(void);
    1.11    long long Seek(long long posMs=0, bool relativ=false);
    1.12 @@ -67,6 +67,7 @@
    1.13    bool Abort(bool result);
    1.14  public:
    1.15    cOggInfo(cOggFile *File);
    1.16 +  virtual ~cOggInfo() {}
    1.17    virtual bool DoScan(bool KeepOpen=false);
    1.18    virtual void InfoHook(void) {};
    1.19    };