Must use explicit scope on virtual functions when called from constructor
This commit is contained in:
@ -44,7 +44,7 @@ ComputeInertiaChunk::ComputeInertiaChunk(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
||||
idchunk = utils::strdup(arg[3]);
|
||||
|
||||
init();
|
||||
ComputeInertiaChunk::init();
|
||||
|
||||
// chunk-based data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user