diff options
author | Filippos Karapetis | 2011-12-13 22:47:46 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-13 22:47:46 +0200 |
commit | 5eb592a1c92d6069529dc3a78b06a9d40d384ed7 (patch) | |
tree | 3935aa22e046c4e29b46154ed874fe302df08dd6 | |
parent | f9419db947a8d1cb42ee389b377c7ec6030ad9dd (diff) | |
download | scummvm-rg350-5eb592a1c92d6069529dc3a78b06a9d40d384ed7.tar.gz scummvm-rg350-5eb592a1c92d6069529dc3a78b06a9d40d384ed7.tar.bz2 scummvm-rg350-5eb592a1c92d6069529dc3a78b06a9d40d384ed7.zip |
WIN32: Fix build by adapting to the latest Archive changes
-rw-r--r-- | backends/platform/sdl/win32/win32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp index b82afca168..3e09aa2640 100644 --- a/backends/platform/sdl/win32/win32.cpp +++ b/backends/platform/sdl/win32/win32.cpp @@ -258,7 +258,7 @@ public: virtual bool hasFile(const Common::String &name) const; virtual int listMembers(Common::ArchiveMemberList &list) const; - virtual Common::ArchiveMemberPtr getMember(const Common::String &name) const; + virtual const Common::ArchiveMemberPtr getMember(const Common::String &name) const; virtual Common::SeekableReadStream *createReadStreamForMember(const Common::String &name) const; private: typedef Common::List<Common::String> FilenameList; @@ -297,7 +297,7 @@ int Win32ResourceArchive::listMembers(Common::ArchiveMemberList &list) const { return count; } -Common::ArchiveMemberPtr Win32ResourceArchive::getMember(const Common::String &name) const { +const Common::ArchiveMemberPtr Win32ResourceArchive::getMember(const Common::String &name) const { return Common::ArchiveMemberPtr(new Common::GenericArchiveMember(name, this)); } |