mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Guard against pop_back on empty vector
This commit is contained in:
@@ -917,7 +917,11 @@ void RiuSummaryCurveDefSelection::buildAddressListForCategoryRecursively(RifEcli
|
||||
auto address = RifEclipseSummaryAddress(category, selectedIdentifiers);
|
||||
addressSet.insert(address);
|
||||
}
|
||||
identifierPath.pop_back();
|
||||
|
||||
if (!identifierPath.empty())
|
||||
{
|
||||
identifierPath.pop_back();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user