Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / programs / view / filter.cpp
index 177e787982b15b3ec4b50e44cc80085d48b4f9e5..3bcfd9bcd030e6ea6652c059fa37f8b3b0ad87d4 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2013, 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.
@@ -57,7 +57,7 @@ t_filter *init_filter(t_atoms *atoms, const char *fn, int natom_trx)
     int       g, i;
 
     snew(f, 1);
-    if (fn != NULL)
+    if (fn != nullptr)
     {
         f->grps = init_index(fn, &f->grpnames);
     }