Must use explicit scope on virtual functions when called from constructor

This commit is contained in:
Axel Kohlmeyer
2021-05-19 16:57:15 -04:00
parent cfb3efb50f
commit e584a3b958
14 changed files with 14 additions and 14 deletions

View File

@ -48,7 +48,7 @@ ComputeMSDChunk::ComputeMSDChunk(LAMMPS *lmp, int narg, char **arg) :
idchunk = utils::strdup(arg[3]);
firstflag = 1;
init();
ComputeMSDChunk::init();
// create a new fix STORE style for reference positions
// id = compute-ID + COMPUTE_STORE, fix group = compute group