fixed: use of iterator after erase

This commit is contained in:
Arne Morten Kvarving
2019-09-03 12:28:04 +02:00
parent 8d858903f1
commit c0c6f35099

View File

@@ -891,8 +891,9 @@ void ECLRegressionTest::results_smry()
if (it != keywordsBlackList.end()){
blackListed.push_back(*keywit);
keywords1.erase(keywit);
--keywit;
keywit = keywords1.erase(keywit);
if (keywit != keywords1.end())
--keywit;
}
}