Add override qualifier to silence warning.

This commit is contained in:
Atgeirr Flø Rasmussen 2022-08-24 15:36:56 +02:00
parent b3a9253de1
commit 6cf02813e5
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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{};