mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 17:32:03 -05:00
Removed unnecessary vector clear operations
This commit is contained in:
1 parent
99e4419b3c
commit
3a680f728e
1 file changed
-8
@@ -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
|
||||
Reference in new issue
Block a user