use explicit scoping when virtual dispatch is not available.

This commit is contained in:
Axel Kohlmeyer
2021-09-15 16:08:17 -04:00
parent 65d8f7f964
commit 7d92d665e8
36 changed files with 46 additions and 46 deletions

View File

@ -181,7 +181,7 @@ FixPropertyAtom::FixPropertyAtom(LAMMPS *lmp, int narg, char **arg) :
// register with Atom class
nmax_old = 0;
if (!lmp->kokkos) grow_arrays(atom->nmax);
if (!lmp->kokkos) FixPropertyAtom::grow_arrays(atom->nmax);
atom->add_callback(Atom::GROW);
atom->add_callback(Atom::RESTART);
if (border) atom->add_callback(Atom::BORDER);