LAMMPS class destructor may throw execption via utils::logmesg()

This commit is contained in:
Axel Kohlmeyer
2023-08-25 10:50:25 -04:00
parent 7b6c78bc06
commit 079d6c2341
2 changed files with 2 additions and 2 deletions

View File

@ -738,7 +738,7 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator) :
* and files and MPI communicators in sub-partitions ("universes"). Then it
* deletes the fundamental class instances and copies of data inside the class.
*/
LAMMPS::~LAMMPS()
LAMMPS::~LAMMPS() noexcept(false)
{
const int me = comm->me;

View File

@ -85,7 +85,7 @@ class LAMMPS {
static const char *git_descriptor();
LAMMPS(int, char **, MPI_Comm);
~LAMMPS();
~LAMMPS() noexcept(false);
void create();
void post_create();
void init();