mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
SHERLOCK: Remove non-virtual destructor which prevents the superclass one from execution.
This commit is contained in:
parent
f6d8e0f5ed
commit
cbb403ff55
engines/sherlock
@ -302,12 +302,6 @@ ImageFile3DO::ImageFile3DO(Common::SeekableReadStream &stream, bool isRoomData)
|
||||
}
|
||||
}
|
||||
|
||||
ImageFile3DO::~ImageFile3DO() {
|
||||
// already done in ImageFile destructor
|
||||
//for (uint idx = 0; idx < size(); ++idx)
|
||||
// (*this)[idx]._frame.free();
|
||||
}
|
||||
|
||||
void ImageFile3DO::load(Common::SeekableReadStream &stream, bool isRoomData) {
|
||||
uint32 headerId = 0;
|
||||
|
||||
|
@ -155,7 +155,6 @@ private:
|
||||
public:
|
||||
ImageFile3DO(const Common::String &name, ImageFile3DOType imageFile3DOType);
|
||||
ImageFile3DO(Common::SeekableReadStream &stream, bool isRoomData = false);
|
||||
~ImageFile3DO();
|
||||
static void setVm(SherlockEngine *vm);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user