Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / listed-forces / listed-internal.cpp
index fd69378866cd4955e7d251ef4c176f1bc7f2ce4c..ce1dc3003828c0546cb4f5a3644434b4db63995c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2014, by the GROMACS development team, led by
+ * Copyright (c) 2014,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.
@@ -49,7 +49,7 @@ int glatnr(int *global_atom_index, int i)
 {
     int atnr;
 
-    if (global_atom_index == NULL)
+    if (global_atom_index == nullptr)
     {
         atnr = i + 1;
     }