Skip to content

Commit

Permalink
OptionsNetCDF: verifyTimesteps, write override base class
Browse files Browse the repository at this point in the history
Add `override` keyword to squash warning.
  • Loading branch information
bendudson committed Jan 17, 2025
1 parent f46d0a6 commit e3a4e1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sys/options/options_netcdf.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ public:

/// Write options to file
void write(const Options& options) { write(options, "t"); }
void write(const Options& options, const std::string& time_dim);
void write(const Options& options, const std::string& time_dim) override;

/// Check that all variables with the same time dimension have the
/// same size in that dimension. Throws BoutException if there are
/// any differences, otherwise is silent
void verifyTimesteps() const;
void verifyTimesteps() const override;

private:
enum class FileMode {
Expand Down

0 comments on commit e3a4e1e

Please sign in to comment.