diff options
author | David Turner | 2011-01-28 02:30:25 +0000 |
---|---|---|
committer | David Turner | 2011-01-28 02:30:25 +0000 |
commit | 44035c303337832dba27688ff54bac9643c9f942 (patch) | |
tree | a92031355d9e69e155cb9dfe79d9c83c9d8eb8a7 /engines | |
parent | c17e3d38bd83eee6967d378a16be7222c07a33ff (diff) | |
download | scummvm-rg350-44035c303337832dba27688ff54bac9643c9f942.tar.gz scummvm-rg350-44035c303337832dba27688ff54bac9643c9f942.tar.bz2 scummvm-rg350-44035c303337832dba27688ff54bac9643c9f942.zip |
DRASCULA: Remove unecessary destructor from ArchiveMan.
svn-id: r55581
Diffstat (limited to 'engines')
-rw-r--r-- | engines/drascula/drascula.h | 3 | ||||
-rw-r--r-- | engines/drascula/resource.cpp | 6 |
2 files changed, 1 insertions, 8 deletions
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) { |