The container is a member of Deallocator class, it's iterated over in the destructor to free allocated resources, and it's not being changed during iteration >>> ranged-for and std::as_const. Task-number: QTBUG-115839 Change-Id: I54eb115013805284c77691f1bd0a8d6085a4c867 Reviewed-by: Marc Mutz <marc.mutz@qt.io>