Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / mdlib / ebin.cpp
index 9777c3e14241177f0c044d96a22de4a99fcb390e..e882f75eb558bfe8ecfe36f77278163d4e30456a 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) 2012,2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2012,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.
@@ -79,7 +79,7 @@ int get_ebin_space(t_ebin *eb, int nener, const char *enm[], const char *unit)
         eb->e_sim[i].eav  = 0;
         eb->e_sim[i].esum = 0;
         eb->enm[i].name   = gmx_strdup(enm[i-index]);
-        if (unit != NULL)
+        if (unit != nullptr)
         {
             eb->enm[i].unit = gmx_strdup(unit);
         }