mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Disable assertion for comparing iterators from different containers (Bug #605)
This commit is contained in:
parent
3961fb36d4
commit
f0e3463e9b
@ -548,7 +548,8 @@ MWWorld::ContainerStoreIterator MWWorld::ContainerStoreIterator::operator++ (int
|
|||||||
|
|
||||||
bool MWWorld::ContainerStoreIterator::isEqual (const ContainerStoreIterator& iter) const
|
bool MWWorld::ContainerStoreIterator::isEqual (const ContainerStoreIterator& iter) const
|
||||||
{
|
{
|
||||||
assert (mContainer==iter.mContainer);
|
if (mContainer!=iter.mContainer)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (mType!=iter.mType)
|
if (mType!=iter.mType)
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user