Merge branch 'const-iterator-fixes' into 'master'

fix some uses of const begin and end iterators



See merge request !43
6 jobs for master