Bulk change to const ref for mtop
[alexxy/gromacs.git] / src / gromacs / modularsimulator / trajectoryelement.cpp
index 5a4b55cbabf164a515d282bca1642c5c52cb8272..69ff93835720dc8aa1342000672b04bf17df0a20 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020,2021, 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.
@@ -58,7 +58,7 @@ TrajectoryElement::TrajectoryElement(std::vector<ITrajectoryWriterClient*> write
                                      gmx::IMDOutputProvider*               outputProvider,
                                      const MdModulesNotifier&              mdModulesNotifier,
                                      const t_inputrec*                     inputrec,
-                                     const gmx_mtop_t*                     top_global,
+                                     const gmx_mtop_t&                     top_global,
                                      const gmx_output_env_t*               oenv,
                                      gmx_wallcycle*                        wcycle,
                                      StartingBehavior                      startingBehavior,