signal that destructors may throw exceptions
This commit is contained in:
@ -46,7 +46,7 @@ class ThrOMP {
|
||||
|
||||
public:
|
||||
ThrOMP(LAMMPS *, int);
|
||||
virtual ~ThrOMP() = default;
|
||||
virtual ~ThrOMP() noexcept(false) {}
|
||||
|
||||
double memory_usage_thr();
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user