Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / utility / stringutil.h
index 592d517c7332731c16eff2e046b5d2252fbe1bb9..56beb1cc924b943ff9df132dd132b294fb1d2590 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2011,2012,2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2011,2012,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.
@@ -62,7 +62,7 @@ namespace gmx
  */
 static inline bool isNullOrEmpty(const char *str)
 {
-    return str == NULL || str[0] == '\0';
+    return str == nullptr || str[0] == '\0';
 }
 
 /*! \brief