The push_front() method can cause reallocation of expanded_items, thereby invalidating iterators already stored in m_recordItems. Switching to std::list fixes this.
The push_front() method can cause reallocation of expanded_items, thereby invalidating iterators already stored in m_recordItems. Switching to std::list fixes this.