Apply clang-tidy-11 fixes to CUDA files
[alexxy/gromacs.git] / src / gromacs / gpu_utils / gpuregiontimer.cuh
index c56d60da61dc17f00e29cff4ee1f993dca01dbbd..59793095db3ed1ec90f781442f4e905a04d8f7d6 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2016,2017,2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2016,2017,2018,2019,2020,2021, 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.
@@ -109,7 +109,7 @@ public:
      * for passing into individual GPU API calls.
      * This is just a dummy in CUDA.
      */
-    inline CommandEvent* fetchNextEvent() { return nullptr; }
+    static inline CommandEvent* fetchNextEvent() { return nullptr; }
 };
 
 //! Short-hand for external use