mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use std::make_unique<>
This commit is contained in:
parent
76384344ca
commit
c0187ffc73
@ -396,7 +396,7 @@ public:
|
||||
/* checkDeck = */ enableExperiments);
|
||||
|
||||
this->summaryState_ = std::make_unique<Opm::SummaryState>( std::chrono::system_clock::from_time_t(this->eclSchedule_->getStartTime() ));
|
||||
this->udqState_.reset( new Opm::UDQState( this->eclSchedule_->getUDQConfig(0).params().undefinedValue()) );
|
||||
this->udqState_ = std::make_unique<Opm::UDQState>( this->eclSchedule_->getUDQConfig(0).params().undefinedValue() );
|
||||
this->actionState_ = std::make_unique<Opm::Action::State>() ;
|
||||
|
||||
// Possibly override IOConfig setting for how often RESTART files should get
|
||||
|
Loading…
Reference in New Issue
Block a user