Manage compiler flags and some include options per file or target, not globally
[alexxy/gromacs.git] / src / gromacs / topology / idef.h
index 901df4f5559353b9db0ce6139f70af78a19d674b..fa0a06ae048db491cc65a1253efb49f19628bd0d 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.
@@ -180,7 +180,7 @@ struct InteractionList
     /* Returns the total number of elements in iatoms */
     int size() const
     {
-        return iatoms.size();
+        return gmx::ssize(iatoms);
     }
 
     /* List of interactions, see explanation further down */