Apply clang-tidy11 to gmxana files with no dependencies
[alexxy/gromacs.git] / src / gromacs / gmxana / nrama.cpp
index 3e8c5fdcf032945d03207ca0388a2d15c084151d..c5f6ccce607874c9ed6f4760eb5d74de2a9a9a90 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
  * Copyright (c) 2013,2014,2015,2016,2017 by the GROMACS development team.
- * Copyright (c) 2018,2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 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.
@@ -51,7 +51,7 @@
 #include "gromacs/utility/futil.h"
 #include "gromacs/utility/smalloc.h"
 
-static const char* pp_pat[] = { "C", "N", "CA", "C", "N" };
+static const char* const pp_pat[] = { "C", "N", "CA", "C", "N" };
 #define NPP (sizeof(pp_pat) / sizeof(pp_pat[0]))
 
 static bool d_comp(const t_dih& a, const t_dih& b)