diff --git a/src/potential_file_reader.h b/src/potential_file_reader.h index c72bf6e48f..a9d7fa8383 100644 --- a/src/potential_file_reader.h +++ b/src/potential_file_reader.h @@ -39,7 +39,7 @@ class PotentialFileReader : protected Pointers { PotentialFileReader(class LAMMPS *lmp, const std::string &filename, const std::string &potential_name, const std::string &name_suffix, const int auto_convert = 0); - virtual ~PotentialFileReader(); + ~PotentialFileReader() override; void ignore_comments(bool value); diff --git a/src/table_file_reader.h b/src/table_file_reader.h index 832e68a34f..51e10189ee 100644 --- a/src/table_file_reader.h +++ b/src/table_file_reader.h @@ -25,7 +25,6 @@ class TableFileReader : public PotentialFileReader { public: TableFileReader(class LAMMPS *lmp, const std::string &filename, const std::string &type, const int auto_convert = 0); - virtual ~TableFileReader() = default; char *find_section_start(const std::string &keyword); };