clang-tidy: readability-non-const-parameter (2/2)
[alexxy/gromacs.git] / src / gromacs / selection / sm_compare.cpp
index 94704d32d647f4ebf2bf48a7eb5af5cc61f44f45..84263f84f0a0a0a4ca703cf454f7cf455135f874 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2009,2010,2011,2012,2013,2014,2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2011,2012,2013,2014,2015,2016,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.
@@ -182,7 +182,7 @@ gmx_ana_selmethod_t sm_compare = {
  * \ref CMP_INVALID is returned.
  */
 static e_comparison_t
-comparison_type(char *str)
+comparison_type(const char *str)
 {
     switch (str[0])
     {