Manage compiler flags and some include options per file or target, not globally
[alexxy/gromacs.git] / src / gromacs / topology / forcefieldparameters.h
index 3f144d19f10d438d04b186b17a7c61d479d6dcf7..55792988fea8099203c465d4e3535d3244c33036 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,2016,2018, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2018,2019, 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.
@@ -54,7 +54,7 @@ struct gmx_ffparams_t
     {
         GMX_ASSERT(iparams.size() == functype.size(), "Parameters and function types go together");
 
-        return functype.size();
+        return gmx::ssize(functype);
     }
 
     /* TODO: Consider merging functype and iparams, either by storing