Closed j-o closed 9 years ago
Since Changaable::deregisterListener calls ChangeListener::removeSubject, the m_subjects container is modified and thus the iterators used in the for loop are invalidated, causing an assertion failure in debug mode on MSVC 2015.
Changaable::deregisterListener
ChangeListener::removeSubject
m_subjects
Since
Changaable::deregisterListener
callsChangeListener::removeSubject
, them_subjects
container is modified and thus the iterators used in the for loop are invalidated, causing an assertion failure in debug mode on MSVC 2015.