Enable clang-tidy for headers
[alexxy/gromacs.git] / src / gromacs / utility / nodelete.h
index c2abd481322e56dfc74490dfe1d41a91d88d902b..dca5db5cf39c4558e86cf352d53c9278817cfbb8 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015, by the GROMACS development team, led by
+ * Copyright (c) 2015,2018, 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.
@@ -63,7 +63,7 @@ template <class T>
 struct no_delete
 {
     //! Deleter that does nothing.
-    void operator()(T *) {}
+    void operator()(T * /*unused*/) {}
 };
 
 } // namespace gmx