mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Observed Data : Use reserve instead of wrong use of resize
This commit is contained in:
parent
bfa1a1cb67
commit
c19bc103c2
@ -87,7 +87,7 @@ bool RifColumnBasedUserData::values(const RifEclipseSummaryAddress& resultAddres
|
||||
|
||||
if (!ci->values.empty())
|
||||
{
|
||||
values->resize(ci->values.size());
|
||||
values->reserve(ci->values.size());
|
||||
|
||||
for (const auto& v : ci->values)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user