Fix: Added missing virtual destructors for classes with virtual functions.

This commit is contained in:
bank 2014-05-01 13:22:13 +04:00
parent 68b12981ae
commit e7fb6a54de
6 changed files with 9 additions and 0 deletions

View file

@ -74,6 +74,7 @@ public:
/// Constructor.
ScreenShot();
virtual ~ScreenShot() { }
/// Used to start the screenshot capture.
void setPending( const char *filename, bool writeJPG, S32 tiles, F32 overlap );

View file

@ -221,6 +221,8 @@ protected:
// List with bitmaps which are done encoding
ThreadSafeDeque< GBitmap* > mProcessedBitmaps;
public:
virtual ~VideoEncoder() { }
// Stores an encoded bitmap to be dealt with later
void pushProcessedBitmap( GBitmap* bitmap );