eclproblem: use make_unique

This commit is contained in:
Arne Morten Kvarving
2023-01-05 11:23:46 +01:00
parent 24ac5801a9
commit 55db8e863a

View File

@@ -779,7 +779,7 @@ public:
MICPModule::initFromState(vanguard.eclState());
// create the ECL writer
eclWriter_.reset(new EclWriterType(simulator));
eclWriter_ = std::make_unique<EclWriterType>(simulator);
enableDriftCompensation_ = EWOMS_GET_PARAM(TypeTag, bool, EclEnableDriftCompensation);