sliencing a few shadowing warnings.

This commit is contained in:
Kai Bao 2016-05-06 17:59:00 +02:00
parent 60b00a0ddf
commit 8236a32aee
3 changed files with 7 additions and 7 deletions

View File

@ -662,11 +662,11 @@ namespace Opm
/**
* Constructor which sets all members
*/
AutoDiffMatrix(AudoDiffMatrixType type, int rows, int cols,
AutoDiffMatrix(AudoDiffMatrixType type, int rows_arg, int cols_arg,
DiagRep diag=DiagRep(), SparseRep sparse=SparseRep())
: type_(type),
rows_(rows),
cols_(cols),
rows_(rows_arg),
cols_(cols_arg),
diag_(diag),
sparse_(sparse)
{

View File

@ -29,9 +29,9 @@ namespace Opm
{
template <class PhysicalModel>
NonlinearSolver<PhysicalModel>::NonlinearSolver(const SolverParameters& param,
std::unique_ptr<PhysicalModel> model)
std::unique_ptr<PhysicalModel> model_arg)
: param_(param),
model_(std::move(model)),
model_(std::move(model_arg)),
nonlinearIterations_(0),
linearIterations_(0),
nonlinearIterationsLast_(0),

View File

@ -80,7 +80,7 @@ namespace Opm {
const DerivedGeology& geo,
const RockCompressibility* rock_comp_props,
const PolymerPropsAd& polymer_props_ad,
const Wells* wells,
const Wells* wells_arg,
const NewtonIterationBlackoilInterface& linsolver,
EclipseStateConstPtr eclipse_state,
const bool has_disgas,
@ -92,7 +92,7 @@ namespace Opm {
const std::vector<double>& wells_perf_length,
const std::vector<double>& wells_bore_diameter,
const bool terminal_output)
: Base(param, grid, fluid, geo, rock_comp_props, wells, linsolver, eclipse_state,
: Base(param, grid, fluid, geo, rock_comp_props, wells_arg, linsolver, eclipse_state,
has_disgas, has_vapoil, terminal_output),
polymer_props_ad_(polymer_props_ad),
has_polymer_(has_polymer),