Modernize wallcycle counting
[alexxy/gromacs.git] / src / gromacs / swap / swapcoords.cpp
index 11c152313cdb12faa5f00ddfec4c4a7e1d53ec8f..941496387347c6440056e2e6019d3c328e0ce60c 100644 (file)
@@ -2053,7 +2053,7 @@ gmx_bool do_swapcoords(t_commrec*        cr,
     rvec                com_solvent, com_particle; /* solvent and swap molecule's center of mass */
 
 
-    wallcycle_start(wcycle, ewcSWAP);
+    wallcycle_start(wcycle, WallCycleCounter::Swap);
 
     set_pbc(s->pbc, ir->pbcType, box);
 
@@ -2242,7 +2242,7 @@ gmx_bool do_swapcoords(t_commrec*        cr,
 
     } /* end of if(bSwap) */
 
-    wallcycle_stop(wcycle, ewcSWAP);
+    wallcycle_stop(wcycle, WallCycleCounter::Swap);
 
     return bSwap;
 }