Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add explicit override in moist qstate function #1384

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

baperry2
Copy link
Collaborator

To avoid compiler warnings like:

../../../Source/Microphysics/Kessler/Kessler.H:134:5: warning: 'Qstate_Size' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    Qstate_Size () { return Kessler::m_qstate_size; }
    ^
../../../Source/Microphysics/Null/NullMoist.H:59:5: note: overridden virtual function is here
    Qstate_Size () { return NullMoist::m_qstate_size; }

Copy link
Collaborator

@AMLattanzi AMLattanzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. Thank you for fixing this.

@baperry2 baperry2 merged commit 1978dd2 into erf-model:development Jan 17, 2024
11 checks passed
@baperry2 baperry2 deleted the moist-qstate-override branch January 17, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants