Bulk change to const ref for mtop
[alexxy/gromacs.git] / src / gromacs / swap / swapcoords.h
index cafddc68c2255cf9fdaa78b6c9dd1be4fade9bee..ec8fdd540d56605e0faa26df1688ae8effd4380d 100644 (file)
@@ -107,7 +107,7 @@ std::unique_ptr<IMDModule> createSwapCoordinatesModule();
 t_swap* init_swapcoords(FILE*                     fplog,
                         const t_inputrec*         ir,
                         const char*               fn,
-                        gmx_mtop_t*               mtop,
+                        const gmx_mtop_t&         mtop,
                         const t_state*            globalState,
                         ObservablesHistory*       oh,
                         t_commrec*                cr,