Merge pull request #2358 from eagunn/iss2345

Replace instances of NULL with nullptr
This commit is contained in:
Axel Kohlmeyer
2020-09-15 17:41:24 -04:00
committed by GitHub
1185 changed files with 8417 additions and 8329 deletions

View File

@ -49,7 +49,7 @@ AtomVecTri::AtomVecTri(LAMMPS *lmp) : AtomVec(lmp)
atom->sphere_flag = 1;
nlocal_bonus = nghost_bonus = nmax_bonus = 0;
bonus = NULL;
bonus = nullptr;
// strings with peratom variables to include in each AtomVec method
// strings cannot contain fields in corresponding AtomVec default strings
@ -688,7 +688,7 @@ void AtomVecTri::pack_data_post(int ilocal)
/* ----------------------------------------------------------------------
pack bonus tri info for writing to data file
if buf is NULL, just return buffer size
if buf is nullptr, just return buffer size
------------------------------------------------------------------------- */
int AtomVecTri::pack_data_bonus(double *buf, int /*flag*/)