Fix another issue in #621
parent
a03911dde6
commit
cf72693b25
|
@ -72,7 +72,12 @@ private:
|
||||||
CObjectIteratorProxy(CObjectMapCIt currentIt, CObjectMapCIt endIt)
|
CObjectIteratorProxy(CObjectMapCIt currentIt, CObjectMapCIt endIt)
|
||||||
: m_currentIt(currentIt)
|
: m_currentIt(currentIt)
|
||||||
, m_endIt(endIt)
|
, m_endIt(endIt)
|
||||||
{}
|
{
|
||||||
|
while (m_currentIt != m_endIt && m_currentIt->second == nullptr)
|
||||||
|
{
|
||||||
|
++m_currentIt;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CObject* operator*()
|
CObject* operator*()
|
||||||
|
|
Loading…
Reference in New Issue