Use const ref to mtop in init_forcerec
[alexxy/gromacs.git] / src / gromacs / mdlib / forcerec.h
index c3e14ec82d7205a9193c2efe021c64d81c5641d2..fff0e149e46475d0eceb66f76171d1fd2c6e2f2e 100644 (file)
@@ -122,7 +122,7 @@ void init_forcerec(FILE*                            fplog,
                    const gmx::MDLogger&             mdlog,
                    t_forcerec*                      fr,
                    const t_inputrec&                ir,
-                   const gmx_mtop_t*                mtop,
+                   const gmx_mtop_t&                mtop,
                    const t_commrec*                 cr,
                    matrix                           box,
                    const char*                      tabfn,