mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
eclproblem: use make_unique
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user