From 44035c303337832dba27688ff54bac9643c9f942 Mon Sep 17 00:00:00 2001 From: David Turner Date: Fri, 28 Jan 2011 02:30:25 +0000 Subject: DRASCULA: Remove unecessary destructor from ArchiveMan. svn-id: r55581 --- engines/drascula/drascula.h | 3 +-- engines/drascula/resource.cpp | 6 ------ 2 files changed, 1 insertion(+), 8 deletions(-) (limited to 'engines') diff --git a/engines/drascula/drascula.h b/engines/drascula/drascula.h index 9430e7b8e3..1bc8176b69 100644 --- a/engines/drascula/drascula.h +++ b/engines/drascula/drascula.h @@ -255,7 +255,6 @@ struct CharInfo { class ArchiveMan : public Common::SearchSet { public: ArchiveMan(); - ~ArchiveMan(); void enableFallback(bool val) { _fallBack = val; } @@ -318,7 +317,7 @@ struct RoomHandlers; class Console; -class DrasculaEngine : public ::Engine { +class DrasculaEngine : public Engine { protected: // Engine APIs virtual Common::Error run(); diff --git a/engines/drascula/resource.cpp b/engines/drascula/resource.cpp index 57be51da43..cca1e47586 100644 --- a/engines/drascula/resource.cpp +++ b/engines/drascula/resource.cpp @@ -32,9 +32,6 @@ ArchiveMan::ArchiveMan() { _fallBack = false; } -ArchiveMan::~ArchiveMan() { -} - void ArchiveMan::registerArchive(const Common::String &filename, int priority) { add(filename, Common::makeArjArchive(filename), priority); } @@ -47,9 +44,6 @@ Common::SeekableReadStream *ArchiveMan::open(const Common::String &filename) { return createReadStreamForMember(filename); } - - - TextResourceParser::TextResourceParser(Common::SeekableReadStream *stream, DisposeAfterUse::Flag dispose) : _stream(stream), _dispose(dispose) { -- cgit v1.2.3