Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / onlinehelp / tests / mock_helptopic.cpp
index 3579fc7d829f11eb2aca10145651cc02abaa4856..49decf9b1ad1bd50e56cf218e7f71d59c3d09896 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2012,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.
@@ -69,7 +69,7 @@ MockHelpTopic::addSubTopic(gmx::AbstractCompositeHelpTopic *parent,
 }
 
 MockHelpTopic::MockHelpTopic(const char *name, const char *title, const char *text)
-    : name_(name), title_(title), text_(text != NULL ? text : "")
+    : name_(name), title_(title), text_(text != nullptr ? text : "")
 {
     if (!isNullOrEmpty(text))
     {