Skip to content

Use mutable iterators when required

Alexander Lohnau requested to merge work/fix_qasconst_issue into master

Issue from !84 (merged).

The problem is that we modify the list while changing it in another place. This was actually in one of the guides how you should not use foreach. Using the mutable iterators we fix that case and also state explicitly that we modify the list during the iteration.

@markg @elvisangelaccio

Edited by Alexander Lohnau

Merge request reports