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
Fix compiler warnings on windows
[alexxy/gromacs.git]
/
src
/
gromacs
/
topology
/
topology.h
diff --git
a/src/gromacs/topology/topology.h
b/src/gromacs/topology/topology.h
index f883afb0d8b852c5b70f9d02377dc5bdd29b126a..d5b633ee061e9f7bae21e03ebed2b4d4d858e0f6 100644
(file)
--- a/
src/gromacs/topology/topology.h
+++ b/
src/gromacs/topology/topology.h
@@
-132,7
+132,7
@@
struct SimulationGroups
*/
int numberOfGroupNumbers(SimulationAtomGroupType group) const
{
- return
gmx::ssize(groupNumbers[group]
);
+ return
static_cast<int>(groupNumbers[group].size()
);
}
};