Fixes for clang-tidy-9
[alexxy/gromacs.git] / src / gromacs / selection / selectionoptionbehavior.cpp
index c6c68d8805a3946dfecbc78e55023a1e39000654..5419a6bb876ae1cf1ef4f2a80e28039d6171bf16 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015,2016,2017,2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 2015,2016,2017,2018,2019,2020, 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.
@@ -92,7 +92,7 @@ public:
 
     void promptSelections()
     {
-        const bool isInteractive = StandardInputStream::instance().isInteractive();
+        const bool isInteractive = StandardInputStream::isInteractive();
         initIndexGroups();
         manager_.parseRequestedFromStdin(isInteractive);
         doneIndexGroups();