mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
LASTEXPRESS: Use const_iterator to iterate over a const array
svn-id: r53967
This commit is contained in:
parent
4369f24ae8
commit
064bdebd55
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user