Fix issue with virtual inheritance in Kokkos deallocate_topo function

This commit is contained in:
Stan Gerald Moore
2024-05-23 12:18:18 -06:00
parent a8687b5372
commit 29e64748c0
2 changed files with 2 additions and 2 deletions

View File

@ -168,7 +168,7 @@ class AtomKokkos : public Atom {
virtual void grow(unsigned int mask);
int add_custom(const char *, int, int, int border = 0) override;
void remove_custom(int, int, int) override;
virtual void deallocate_topology();
void deallocate_topology() override;
void map_set_device();
void map_set_host();

View File

@ -327,7 +327,7 @@ class Atom : protected Pointers {
int parse_data(const char *);
void deallocate_topology();
virtual void deallocate_topology();
void data_atoms(int, char *, tagint, tagint, int, int, double *, int, int *, int);
void data_vels(int, char *, tagint);