Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / testutils / testfileredirector.cpp
index ef233ddf90ae5c060ad46e02591439468d0ca1b7..993b4070e7a87d0395e6348d23ba9f7731751910 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.
@@ -80,7 +80,7 @@ bool TestFileInputRedirector::fileExists(const char            *filename,
 {
     if (existingFiles_.count(filename) == 0)
     {
-        File::NotFoundInfo info(filename, "File not present in test", NULL, false, 0);
+        File::NotFoundInfo info(filename, "File not present in test", nullptr, false, 0);
         onNotFound(info);
         return false;
     }