switch auxiliary modules from std::shared_ptr to raw pointers

lifetime management of these objects by shared pointers is not always
feasible; at least it is not always doable without awful hacks.
This commit is contained in:
Andreas Lauser 2018-07-09 12:13:57 +02:00
parent cd725aeb8a
commit a395a6d6ce

View File

@ -686,7 +686,7 @@ protected:
wellIt = wells_.begin();
for (; wellIt != wellEndIt; ++wellIt) {
(*wellIt)->endSpec();
model.addAuxiliaryModule(*wellIt);
model.addAuxiliaryModule(wellIt->get());
}
}