Apply override to more classes

This commit is contained in:
Richard Berger
2022-01-21 16:58:32 -05:00
parent 06beb28d7d
commit 44bc766060
13 changed files with 100 additions and 102 deletions

View File

@ -26,9 +26,7 @@ class LAMMPSException : public std::exception {
LAMMPSException(const std::string &msg) : message(msg) {}
~LAMMPSException() noexcept {}
virtual const char *what() const noexcept { return message.c_str(); }
const char *what() const noexcept override { return message.c_str(); }
};
class LAMMPSAbortException : public LAMMPSException {