Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / utility / programcontext.cpp
index 4de54036ab0948f8babc697f4be49ebe67a9e5ac..7ec9df222f87731e1f60a13ee3dbd6da77ad5589 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * 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.
@@ -88,7 +88,7 @@ const DefaultProgramContext    g_defaultContext;
 
 const IProgramContext &getProgramContext()
 {
-    if (g_programContext != NULL)
+    if (g_programContext != nullptr)
     {
         return *g_programContext;
     }