Clean up index handing in make_bondeds_zone
[alexxy/gromacs.git] / src / gromacs / domdec / localtopology.h
index 14ca253442733b7f96409f7ae75c4876bdde0429..3e323945457e9dd558203ea4249b738885c1811e 100644 (file)
@@ -62,8 +62,8 @@ class ArrayRef;
 /*! \brief Generate the local topology and virtual site data
  *
  * \returns Total count of bonded interactions in the local topology on this domain */
-int dd_make_local_top(struct gmx_domdec_t*           dd,
-                      struct gmx_domdec_zones_t*     zones,
+int dd_make_local_top(const gmx_domdec_t&            dd,
+                      const gmx_domdec_zones_t&      zones,
                       int                            npbcdim,
                       matrix                         box,
                       rvec                           cellsize_min,