Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / gmxana / sfactor.cpp
index f7d5c314d3df681f2851be33e3212cbb770c9934..c0f7e44ee0f8229c81367fafb3fb2327230556ae 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2017, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -282,7 +282,7 @@ extern gmx_structurefactors_t *gmx_structurefactors_init(const char *datfn)
     snew(gsf->b, nralloc);
     snew(gsf->c, nralloc);
     snew(gsf->p, nralloc);
-    gsf->n       = NULL;
+    gsf->n       = nullptr;
     gsf->nratoms = line_no;
     while (get_a_line(fp, line, STRLEN))
     {
@@ -475,7 +475,7 @@ extern int do_scattering_intensity (const char* fnTPS, const char* fnNDX,
     sf->energy = energy;
 
     /* Read the topology informations */
-    read_tps_conf (fnTPS, &top, &ePBC, &xtop, NULL, box, TRUE);
+    read_tps_conf (fnTPS, &top, &ePBC, &xtop, nullptr, box, TRUE);
     sfree (xtop);
 
     /* groups stuff... */