Fix segfault in iterating over a map while deleting its elements
This MR chanes the way a loop over a std::map
that erases elements of the map is implemented. See #74 (closed) for a discussion of the issue that is solved.
Closes #74 (closed)
This MR chanes the way a loop over a std::map
that erases elements of the map is implemented. See #74 (closed) for a discussion of the issue that is solved.
Closes #74 (closed)