Merge pull request #3345 from atgeirr/silence-warnings

Silence warnings
This commit is contained in:
Joakim Hove 2021-06-03 17:25:47 +02:00 committed by GitHub
commit cb800abd05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 9 deletions

View File

@ -135,6 +135,9 @@ public:
return this->initialInplace_.value();
}
// Virtual destructor for safer inheritance.
virtual ~EclGenericOutputBlackoilModule() = default;
protected:
using ScalarBuffer = std::vector<Scalar>;
using StringBuffer = std::vector<std::string>;

View File

@ -51,9 +51,6 @@
namespace Opm {
template<class GridView, class FluidSystem, class Scalar>
std::string EclGenericProblem<GridView,FluidSystem,Scalar>::briefDescription_;
template<class GridView, class FluidSystem, class Scalar>
EclGenericProblem<GridView,FluidSystem,Scalar>::
EclGenericProblem(const EclipseState& eclState,

View File

@ -251,7 +251,7 @@ protected:
const Schedule& schedule_;
const GridView& gridView_;
static std::string briefDescription_;
static inline std::string briefDescription_;
std::array<std::vector<Scalar>, 2> referencePorosity_;
std::vector<int> pvtnum_;

View File

@ -1110,7 +1110,6 @@ namespace Opm {
GasLiftStage2 glift {this->ebosSimulator_.episodeIndex(),
this->ebosSimulator_.vanguard().grid().comm(),
this->phaseUsage(),
ebosSimulator_.vanguard().schedule(),
ebosSimulator_.vanguard().summaryState(),
deferred_logger, this->wellState(),

View File

@ -40,7 +40,6 @@ namespace Opm {
GasLiftStage2::GasLiftStage2(
const int report_step_idx,
const Communication& comm,
const PhaseUsage& phase_usage,
const Schedule& schedule,
const SummaryState& summary_state,
DeferredLogger &deferred_logger,
@ -57,7 +56,6 @@ GasLiftStage2::GasLiftStage2(
report_step_idx_{report_step_idx},
summary_state_{summary_state},
schedule_{schedule},
phase_usage_{phase_usage},
glo_{schedule_.glo(report_step_idx_)},
comm_{comm},
debug_{false}

View File

@ -67,7 +67,6 @@ class WellState;
GasLiftStage2(
const int report_step_idx,
const Communication& comm,
const PhaseUsage& phase_usage,
const Schedule& schedule,
const SummaryState& summary_state,
DeferredLogger &deferred_logger,
@ -136,7 +135,6 @@ class WellState;
int report_step_idx_;
const SummaryState &summary_state_;
const Schedule &schedule_;
const PhaseUsage &phase_usage_;
const GasLiftOpt& glo_;
const Communication &comm_;
GradMap inc_grads_;