Bulk change to const ref for mtop
[alexxy/gromacs.git] / src / gromacs / modularsimulator / forceelement.cpp
index cce364f9fce21b65ab50d89633cf3802397b9109..48fa24754d18f97871a9de6f0335f1e1abbabf6c 100644 (file)
@@ -88,7 +88,7 @@ ForceElement::ForceElement(StatePropagatorData*        statePropagatorData,
                            ImdSession*            imdSession,
                            pull_t*                pull_work,
                            Constraints*           constr,
-                           const gmx_mtop_t*      globalTopology,
+                           const gmx_mtop_t&      globalTopology,
                            gmx_enfrot*            enforcedRotation) :
     shellfc_(init_shell_flexcon(fplog,
                                 globalTopology,