Fix incorrect iterator manipulation
authorMikko Rasa <tdb@tdb.fi>
Wed, 1 Sep 2021 00:12:09 +0000 (03:12 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 1 Sep 2021 00:12:09 +0000 (03:12 +0300)
commit497e54c026f87ef020477bfe7c0249802373c630
treecb9e7fa707b603af023188104a69fd9c6591df8b
parent5126e0aab38f902d6c54c517c9986ff0d0539afd
Fix incorrect iterator manipulation

Now that opts is a vector, erase invalidates iterators.
source/core/getopt.cpp