diff options
author | Max Horn | 2010-10-30 22:44:57 +0000 |
---|---|---|
committer | Max Horn | 2010-10-30 22:44:57 +0000 |
commit | 064bdebd55392096a98837a24413d6244fa2c60c (patch) | |
tree | e4ba2d0ef39d23960936d88b0b5ddc4160d2615b /engines/lastexpress | |
parent | 4369f24ae817fa79e14c3ff36a0b5ecf40b99050 (diff) | |
download | scummvm-rg350-064bdebd55392096a98837a24413d6244fa2c60c.tar.gz scummvm-rg350-064bdebd55392096a98837a24413d6244fa2c60c.tar.bz2 scummvm-rg350-064bdebd55392096a98837a24413d6244fa2c60c.zip |
LASTEXPRESS: Use const_iterator to iterate over a const array
svn-id: r53967
Diffstat (limited to 'engines/lastexpress')
-rw-r--r-- | engines/lastexpress/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/resource.cpp b/engines/lastexpress/resource.cpp index b98ddf4533..57bc12a185 100644 --- a/engines/lastexpress/resource.cpp +++ b/engines/lastexpress/resource.cpp @@ -180,7 +180,7 @@ Common::ArchiveMemberPtr ResourceManager::getMember(const Common::String &name) } Common::SeekableReadStream *ResourceManager::createReadStreamForMember(const Common::String &name) const { - for (Common::Array<HPFArchive * const>::iterator it = _archives.begin(); it != _archives.end(); ++it) { + for (Common::Array<HPFArchive *>::const_iterator it = _archives.begin(); it != _archives.end(); ++it) { Common::SeekableReadStream *stream = (*it)->createReadStreamForMember(name); |