More const in edsam functions
[alexxy/gromacs.git] / src / gromacs / essentialdynamics / edsam.h
index f9bf69246927a6134b30f186f34cea901458251a..ab26dfaf668c8860ffb8707c76935195d3a88c55 100644 (file)
@@ -130,8 +130,8 @@ void do_edsam(const t_inputrec* ir,
 std::unique_ptr<gmx::EssentialDynamics> init_edsam(const gmx::MDLogger&    mdlog,
                                                    const char*             ediFileName,
                                                    const char*             edoFileName,
-                                                   const gmx_mtop_t*       mtop,
-                                                   const t_inputrec*       ir,
+                                                   const gmx_mtop_t&       mtop,
+                                                   const t_inputrec&       ir,
                                                    const t_commrec*        cr,
                                                    gmx::Constraints*       constr,
                                                    const t_state*          globalState,
@@ -167,6 +167,6 @@ void do_flood(const t_commrec*  cr,
               gmx_edsam*        ed,
               const matrix      box,
               int64_t           step,
-              gmx_bool          bNS);
+              bool              bNS);
 
 #endif