aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDavid Turner2011-01-28 02:30:25 +0000
committerDavid Turner2011-01-28 02:30:25 +0000
commit44035c303337832dba27688ff54bac9643c9f942 (patch)
treea92031355d9e69e155cb9dfe79d9c83c9d8eb8a7 /engines
parentc17e3d38bd83eee6967d378a16be7222c07a33ff (diff)
downloadscummvm-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.h3
-rw-r--r--engines/drascula/resource.cpp6
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) {