From e618e6794ddcd528d157000c01e4f75dc6de3e2f Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Tue, 9 Aug 2011 21:02:32 +0200 Subject: [PATCH] JANITORIAL: Remove unnecessary empty default constructors/destructors. --- backends/platform/ps2/icon.h | 4 ---- backends/platform/psp/default_display_client.h | 4 ---- engines/saga/sndres.cpp | 3 --- engines/saga/sndres.h | 1 - graphics/imagedec.h | 1 - 5 files changed, 13 deletions(-) diff --git a/backends/platform/ps2/icon.h b/backends/platform/ps2/icon.h index bc614bf70b3..3ad19910d3b 100644 --- a/backends/platform/ps2/icon.h +++ b/backends/platform/ps2/icon.h @@ -22,10 +22,6 @@ class PS2Icon { public: - PS2Icon() {}; - - ~PS2Icon() {}; - uint16 decompressData(uint16 **data); void setup(mcIcon *icon); }; diff --git a/backends/platform/psp/default_display_client.h b/backends/platform/psp/default_display_client.h index e1cd8e7e72f..721a7e6fea7 100644 --- a/backends/platform/psp/default_display_client.h +++ b/backends/platform/psp/default_display_client.h @@ -65,9 +65,6 @@ protected: */ class Overlay : public DefaultDisplayClient { public: - Overlay() {} - ~Overlay() {} - void init(); bool allocate(); void setBytesPerPixel(uint32 size); @@ -85,7 +82,6 @@ public: memset(&_pixelFormat, 0, sizeof(_pixelFormat)); memset(&_frameBuffer, 0, sizeof(_frameBuffer)); } - ~Screen() {} void init(); bool allocate(); diff --git a/engines/saga/sndres.cpp b/engines/saga/sndres.cpp index 5a97eb60195..71044034d75 100644 --- a/engines/saga/sndres.cpp +++ b/engines/saga/sndres.cpp @@ -104,9 +104,6 @@ SndRes::SndRes(SagaEngine *vm) : _vm(vm), _sfxContext(NULL), _voiceContext(NULL) } } -SndRes::~SndRes() { -} - void SndRes::setVoiceBank(int serial) { Common::File *file; if (_voiceSerial == serial) diff --git a/engines/saga/sndres.h b/engines/saga/sndres.h index 979c0288f63..bc38bed431f 100644 --- a/engines/saga/sndres.h +++ b/engines/saga/sndres.h @@ -39,7 +39,6 @@ class SndRes { public: SndRes(SagaEngine *vm); - ~SndRes(); void playSound(uint32 resourceId, int volume, bool loop); void playVoice(uint32 resourceId); diff --git a/graphics/imagedec.h b/graphics/imagedec.h index e839d097b2c..b03b8bc36bd 100644 --- a/graphics/imagedec.h +++ b/graphics/imagedec.h @@ -36,7 +36,6 @@ struct Surface; class ImageDecoder { public: - ImageDecoder() {} virtual ~ImageDecoder() {} static Surface *loadFile(const Common::String &name, const PixelFormat &format);