clang-tidy: readability-non-const-parameter (2/2)
[alexxy/gromacs.git] / src / gromacs / topology / atomprop.cpp
index 693d7d8bb5776cd00f445236c52789762d98a7b1..d4bffefe6e7483fbdf422da732a8cf4dd9ee654f 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2017, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2017,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.
@@ -80,7 +80,7 @@ enum {
 
 /* return number of matching characters,
    or NOTFOUND if not at least all characters in char *database match */
-static int dbcmp_len(char *search, char *database)
+static int dbcmp_len(const char *search, const char *database)
 {
     int i;