Correctly mark transfer of ownership for ouptut writer

This commit is contained in:
Markus Blatt
2016-11-10 12:41:13 +01:00
parent 077dc02481
commit 3eba3353d0
3 changed files with 6 additions and 6 deletions

View File

@@ -245,7 +245,7 @@ try
::createEclipseGrid( cGrid ,
eclipseState->getInputGrid())));
Opm::BlackoilOutputWriter
outputWriter(cGrid, param, *eclipseState, eclipseWriter, pu,
outputWriter(cGrid, param, *eclipseState, std::move(eclipseWriter), pu,
new_props->permeability() );
SimulatorReport fullReport;