Merge pull request #4506 from atgeirr/silence-warnings

Silence warnings: struct/class, missing override.
This commit is contained in:
Bård Skaflestad 2023-03-03 11:01:47 +01:00 committed by GitHub
commit f0e2014026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -66,16 +66,16 @@ public:
aquifer_data_ = aquifer;
}
void initFromRestart(const data::Aquifers& /* aquiferSoln */) {
void initFromRestart(const data::Aquifers& /* aquiferSoln */) override {
}
void initialSolutionApplied() {
void initialSolutionApplied() override {
}
void beginTimeStep() {
void beginTimeStep() override {
}
void endTimeStep() {
void endTimeStep() override {
this->flux_rate_ = 0.;
for (const auto& q : this->connection_flux_) {
this->flux_rate_ += Opm::getValue(q);
@ -84,7 +84,7 @@ public:
this->cumulative_flux_ += this->flux_rate_ * this->ebos_simulator_.timeStepSize();
}
data::AquiferData aquiferData() const
data::AquiferData aquiferData() const override
{
data::AquiferData data;
data.aquiferID = this->aquifer_data_.id;

View File

@ -27,7 +27,7 @@
namespace Opm {
class SimulatorReport;
struct SimulatorReport;
// Print an ASCII-art header to the PRT and DEBUG files.
void printPRTHeader(const std::string& parameters,

View File

@ -254,7 +254,7 @@ struct MinTimeStepBasedOnNewtonIterations<TypeTag, TTag::FlowTimeSteppingParamet
namespace Opm {
class StepReport;
struct StepReport;
namespace detail {