clang-tidy-11 fixes for gmxpreprocess
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / grompp.cpp
index c8faf6d05b9b697207a2ff50e6383ea3655b26f3..6e9b8d476418cfd0989d4e487da31d8943dcbc00 100644 (file)
@@ -122,7 +122,7 @@ InteractionOfType::InteractionOfType(gmx::ArrayRef<const int>  atoms,
             params.size() <= forceParam_.size(),
             gmx::formatString("Cannot have more parameters than the maximum number possible (%d)", MAXFORCEPARAM)
                     .c_str());
-    auto forceParamIt = forceParam_.begin();
+    auto* forceParamIt = forceParam_.begin();
     for (const auto param : params)
     {
         *forceParamIt++ = param;