Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / topology / topsort.cpp
index de8e9850a072b1697f3b4625bfb38b508ff08872..4c3a7e80cec9364a9d8e906361d3596a9b6a377f 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2008, The GROMACS development team.
- * Copyright (c) 2013,2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,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.
@@ -209,13 +209,13 @@ void gmx_sort_ilist_fe(t_idef *idef, const real *qA, const real *qB)
     t_iatom   *iabuf;
     int        iabuf_nalloc;
 
-    if (qB == NULL)
+    if (qB == nullptr)
     {
         qB = qA;
     }
 
     iabuf_nalloc = 0;
-    iabuf        = NULL;
+    iabuf        = nullptr;
 
     iparams = idef->iparams;