Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / utility / coolstuff.cpp
index 61986b561be890b76068a1bbf147dbc3f14668a8..b53ced9680a83a944b570f04dede43dd25c51c0c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 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.
@@ -65,7 +65,7 @@ bool beCool(void)
      * a mutex for locking the variable...
      */
 #if GMX_COOL_QUOTES
-    return (getenv("GMX_NO_QUOTES") == NULL);
+    return (getenv("GMX_NO_QUOTES") == nullptr);
 #else
     /*be uncool*/
     return false;