Make clang-tidy script more robust
[alexxy/gromacs.git] / src / api / cpp / workflow.h
index ccba142620957e31c142d9cad7f8ba2fbface9dd..0571395ec263cd050cf113cb4ec0d52421bb7546 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2018,2019, by the GROMACS development team, led by
+ * Copyright (c) 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.
@@ -149,7 +149,7 @@ public:
      *
      * \todo Not yet implemented.
      */
-    NodeKey addNode(std::unique_ptr<NodeSpecification> spec);
+    static NodeKey addNode(std::unique_ptr<NodeSpecification> spec);
 
     /*!
      * \brief Get the node specification for a provided key.