Skip to content

Commit

Permalink
Add nodiscard
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Jan 8, 2024
1 parent dfbc775 commit cafa264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Diagnostics/RecordingPlaneDiagnostics.H
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private:
amrex::Box m_buffer_box;
int m_flush_counter = 0;

bool GetZSliceInDomain (int lev) const;
[[nodiscard]] bool GetZSliceInDomain (int lev) const;
bool m_last_timeslice_filled = false;
};

Expand Down

0 comments on commit cafa264

Please sign in to comment.