LASTEXPRESS: Use const_iterator to iterate over a const array

svn-id: r53967
This commit is contained in:
Max Horn 2010-10-30 22:44:57 +00:00
parent 4369f24ae8
commit 064bdebd55

View File

@ -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);