destructor in polymorph base class should be virtual

This commit is contained in:
Axel Kohlmeyer
2021-07-10 10:53:36 -04:00
parent e8aa3823d3
commit 89d7e34540

View File

@ -275,7 +275,7 @@ class Atom : protected Pointers {
// functions
Atom(class LAMMPS *);
~Atom();
virtual ~Atom();
void settings(class Atom *);
void peratom_create();