Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / ewald / pme-solve.cpp
index 71553ad7a2d51ee41a2b502a3d898649df4c0afb..1df26a8aab5d9db1dc85c2179ff6b7b012ea45a8 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.
@@ -160,7 +160,7 @@ void pme_free_all_work(struct pme_solve_work_t **work, int nthread)
         free_work(&(*work)[thread]);
     }
     sfree(*work);
-    *work = NULL;
+    *work = nullptr;
 }
 
 void get_pme_ener_vir_q(struct pme_solve_work_t *work, int nthread,