From 68eaf5c7a67581e0c8d162027c62bf7652e5a7f2 Mon Sep 17 00:00:00 2001 From: Bruce Perry Date: Tue, 16 Jan 2024 15:32:38 -0700 Subject: [PATCH] add explicit override in moist qstate function --- Source/Microphysics/FastEddy/FastEddy.H | 2 +- Source/Microphysics/Kessler/Kessler.H | 2 +- Source/Microphysics/SAM/SAM.H | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Microphysics/FastEddy/FastEddy.H b/Source/Microphysics/FastEddy/FastEddy.H index 9b8907f23..3df2e03f1 100644 --- a/Source/Microphysics/FastEddy/FastEddy.H +++ b/Source/Microphysics/FastEddy/FastEddy.H @@ -113,7 +113,7 @@ public: Qmoist_Size () override { return FastEddy::m_qmoist_size; } int - Qstate_Size () { return FastEddy::m_qstate_size; } + Qstate_Size () override { return FastEddy::m_qstate_size; } private: // Number of qmoist variables (qt, qv, qc) diff --git a/Source/Microphysics/Kessler/Kessler.H b/Source/Microphysics/Kessler/Kessler.H index 26c7c147d..b989b8352 100644 --- a/Source/Microphysics/Kessler/Kessler.H +++ b/Source/Microphysics/Kessler/Kessler.H @@ -131,7 +131,7 @@ public: Qmoist_Size () override { return Kessler::m_qmoist_size; } int - Qstate_Size () { return Kessler::m_qstate_size; } + Qstate_Size () override { return Kessler::m_qstate_size; } private: // Number of qmoist variables (qt, qv, qcl, qci, qp, qpl, qpi) diff --git a/Source/Microphysics/SAM/SAM.H b/Source/Microphysics/SAM/SAM.H index 41a416262..108ff76d0 100644 --- a/Source/Microphysics/SAM/SAM.H +++ b/Source/Microphysics/SAM/SAM.H @@ -147,7 +147,7 @@ public: Qmoist_Size () override { return SAM::m_qmoist_size; } int - Qstate_Size () { return SAM::m_qstate_size; } + Qstate_Size () override { return SAM::m_qstate_size; } private: // Number of qmoist variables (qt, qv, qcl, qci, qp, qpl, qpi, qpg)