Silence unused argument warnings.

This commit is contained in:
Atgeirr Flø Rasmussen 2017-04-12 11:13:10 +02:00
parent 246118d794
commit baa6104f39
2 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,7 @@ data::Solution simToSolution( const SimulationDataContainer& reservoir,
void solutionToSim( const data::Solution& sol,
const std::map<std::string,std::vector<double> >& extra,
const std::map<std::string,std::vector<double> >& /* extra */,
PhaseUsage phases,
SimulationDataContainer& state ) {

View File

@ -93,6 +93,7 @@ public:
void scatter(Buffer& buffer, std::size_t i, std::size_t s)
{
assert(s==size(i));
static_cast<void>(s);
for(auto index = i*size(i), end = (i+1)*size(i);
index < end; ++index)