aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress
diff options
context:
space:
mode:
authorMax Horn2010-10-30 22:44:57 +0000
committerMax Horn2010-10-30 22:44:57 +0000
commit064bdebd55392096a98837a24413d6244fa2c60c (patch)
treee4ba2d0ef39d23960936d88b0b5ddc4160d2615b /engines/lastexpress
parent4369f24ae817fa79e14c3ff36a0b5ecf40b99050 (diff)
downloadscummvm-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.cpp2
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);