Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / commandline / cmdlinemodule.cpp
index 0019a324da66df3b0408b503471c01e5d86a34ca..9050a5a6901c0ed8eaaa1f57df1ef0b91a9af230 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2014, by the GROMACS development team, led by
+ * Copyright (c) 2014,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.
@@ -84,7 +84,7 @@ void writeCommandLineHelpCMain(
     int   argc = 1;
     // TODO: The constness should not be cast away.
     argv[0] = const_cast<char *>(name);
-    argv[1] = NULL;
+    argv[1] = nullptr;
     GlobalCommandLineHelpContext global(context);
     mainFunction(argc, argv);
 }