mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-29 20:43:49 -06:00
Merge pull request #4 from atgeirr/cleanup-output-writers-extra
Remove pessimizing move and silence warnings.
This commit is contained in:
commit
22cbaeea62
@ -1315,7 +1315,7 @@ namespace Opm {
|
||||
}
|
||||
}
|
||||
|
||||
return std::move(simData);
|
||||
return simData;
|
||||
}
|
||||
|
||||
const FIPDataType& getFIPData() const {
|
||||
|
@ -516,7 +516,7 @@ namespace Opm
|
||||
addToSimData( simData, "RSSAT", sd.rsSat );
|
||||
addToSimData( simData, "RVSAT", sd.rvSat );
|
||||
|
||||
return std::move( simData );
|
||||
return simData;
|
||||
}
|
||||
|
||||
// in case the data is already in a SimulationDataContainer no
|
||||
@ -536,8 +536,8 @@ namespace Opm
|
||||
template<class Model>
|
||||
void getRestartData(data::Solution& output,
|
||||
SimulationDataContainer&& sd,
|
||||
const Opm::PhaseUsage& phaseUsage,
|
||||
const Model& physicalModel,
|
||||
const Opm::PhaseUsage& /* phaseUsage */,
|
||||
const Model& /* physicalModel */,
|
||||
const RestartConfig& restartConfig,
|
||||
const int reportStepNum,
|
||||
const bool log)
|
||||
|
Loading…
Reference in New Issue
Block a user