Tidy: modernize-use-nullptr
[alexxy/gromacs.git] / src / gromacs / selection / tests / selectionoption.cpp
index d6d6e7053fc6b5ba966b7f0daabdbc0907e34896..f230af5a696dfd5992fd8335cc565fdff193537a 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2010,2011,2012,2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2010,2011,2012,2013,2014,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.
@@ -263,7 +263,7 @@ TEST_F(SelectionOptionTest, HandlesDefaultSelectionText)
 
     ASSERT_TRUE(sel.isValid());
 
-    EXPECT_NO_THROW_GMX(sc_.setTopology(NULL, 10));
+    EXPECT_NO_THROW_GMX(sc_.setTopology(nullptr, 10));
     EXPECT_NO_THROW_GMX(sc_.compile());
 
     EXPECT_STREQ("all", sel.selectionText());