signal that destructors may throw exceptions

This commit is contained in:
Axel Kohlmeyer
2023-08-23 03:37:54 -04:00
parent aec1f46291
commit 2e79beb368
3 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ class ThrOMP {
public:
ThrOMP(LAMMPS *, int);
virtual ~ThrOMP() = default;
virtual ~ThrOMP() noexcept(false) {}
double memory_usage_thr();

View File

@ -20,7 +20,7 @@ namespace LAMMPS_NS {
class PythonInterface {
public:
virtual ~PythonInterface() = default;
virtual ~PythonInterface() noexcept(false) {}
virtual void command(int, char **) = 0;
virtual void invoke_function(int, char *) = 0;
virtual int find(const char *) = 0;

View File

@ -92,7 +92,7 @@ class Pointers {
atomKK(ptr->atomKK),
memoryKK(ptr->memoryKK),
python(ptr->python) {}
virtual ~Pointers() = default;
virtual ~Pointers() noexcept(false) {}
// remove other default members