Bulk change to const ref for mtop
[alexxy/gromacs.git] / src / gromacs / tools / report_methods.cpp
index af45b6005ee57dfc2a3625ce32b6bd1d1f6d4a0e..eb8fd2eb068fec7529e45bd585fc1f9833f56202 100644 (file)
@@ -76,7 +76,7 @@ void writeSystemInformation(TextWriter* writer, const gmx_mtop_t& top, bool writ
     const t_atom*             atom;
 
     writeHeader(writer, "Simulation system", "subsection", writeFormattedText);
-    aloop = gmx_mtop_atomloop_block_init(&top);
+    aloop = gmx_mtop_atomloop_block_init(top);
     while (gmx_mtop_atomloop_block_next(aloop, &atom, &nmol))
     {
         if (atom->ptype == ParticleType::VSite)