Add InteractionDefinitions
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / topio.cpp
index 7d33fafda615363623d576cbdeed554f9631aca8..377bb4cb3399724255f5715a93d8991d0f7ebb28 100644 (file)
@@ -1102,7 +1102,7 @@ static void generate_qmexcl_moltype(gmx_moltype_t*       molt,
      */
     int ftype_connbond = 0;
     int ind_connbond   = 0;
-    if (molt->ilist[F_CONNBONDS].size() != 0)
+    if (!molt->ilist[F_CONNBONDS].empty())
     {
         GMX_LOG(logger.info)
                 .asParagraph()