mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-03 23:50:26 -06:00
Removed unnecessary vector clear operations
This commit is contained in:
parent
99e4419b3c
commit
3a680f728e
@ -167,18 +167,10 @@ namespace bda
|
||||
}
|
||||
|
||||
WellContributionsOCLContainer::~WellContributionsOCLContainer(){
|
||||
if(num_std_wells > 0){
|
||||
toOrder.clear();
|
||||
}
|
||||
|
||||
if(num_ms_wells > 0){
|
||||
for (auto ms : multisegments) {
|
||||
delete ms;
|
||||
}
|
||||
|
||||
multisegments.clear();
|
||||
x_msw.clear();
|
||||
y_msw.clear();
|
||||
}
|
||||
}
|
||||
} // end namespace bda
|
||||
|
Loading…
Reference in New Issue
Block a user