Enable clang-tidy for headers
[alexxy/gromacs.git] / src / gromacs / utility / arrayref.h
index ee0ae7733e5d8ff9c9da70eb84530fd6729cf37f..caba999d9592fbb0b115f6777257c27f8ef391fe 100644 (file)
@@ -146,7 +146,7 @@ class ArrayRef
          * used to initialize any ArrayRef, without specifying the template
          * type.  It is not explicit to enable that usage.
          */
-        ArrayRef(const EmptyArrayRef &) : begin_(nullptr), end_(nullptr) {}
+        ArrayRef(const EmptyArrayRef & /*unused*/) : begin_(nullptr), end_(nullptr) {}
         /*! \brief
          * Constructs a reference to a container or reference
          *