mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-13 09:51:57 -06:00
Add override qualifier to silence warning.
This commit is contained in:
parent
b3a9253de1
commit
6cf02813e5
@ -67,7 +67,7 @@ public:
|
||||
comm.sum(&this->fluxValue_, 1);
|
||||
}
|
||||
|
||||
data::AquiferData aquiferData() const
|
||||
data::AquiferData aquiferData() const override
|
||||
{
|
||||
data::AquiferData data;
|
||||
data.aquiferID = this->aquiferID();
|
||||
|
@ -66,7 +66,7 @@ public:
|
||||
aquifer_pressure_ = aquiferPressure();
|
||||
}
|
||||
|
||||
data::AquiferData aquiferData() const
|
||||
data::AquiferData aquiferData() const override
|
||||
{
|
||||
// TODO: how to unify the two functions?
|
||||
auto data = data::AquiferData{};
|
||||
|
Loading…
Reference in New Issue
Block a user