Fix another issue in #621

master
Piotr Dziwinski 2015-09-06 16:29:21 +02:00
parent a03911dde6
commit cf72693b25
1 changed files with 6 additions and 1 deletions

View File

@ -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*()