biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy: readability-non-const-parameter (2/2)
[alexxy/gromacs.git]
/
src
/
gromacs
/
mdlib
/
splitter.cpp
diff --git
a/src/gromacs/mdlib/splitter.cpp
b/src/gromacs/mdlib/splitter.cpp
index 37a44906a5f1caf5ee6f03b3206b7efed8f864d1..be752e8bb8c674964ce8eb54b198db53867c3c02 100644
(file)
--- a/
src/gromacs/mdlib/splitter.cpp
+++ b/
src/gromacs/mdlib/splitter.cpp
@@
-114,7
+114,7
@@
static int mk_grey(egCol egc[], t_graph *g, int *AtomI,
return ng;
}
-static int first_colour(int fC, egCol Col, t_graph *g, egCol egc[])
+static int first_colour(int fC, egCol Col, t_graph *g,
const
egCol egc[])
/* Return the first node with colour Col starting at fC.
* return -1 if none found.
*/