Removed unnecessary vector clear operations

This commit is contained in:
Jose Eduardo Bueno committed 2020-09-30 09:14:20 -03:00
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