Apply re-formatting to C++ in src/ tree.
[alexxy/gromacs.git] / src / gromacs / selection / selection.cpp
index 20926675fdcbb4a5f6d2b0626a8dcee95d934297..b3cadb741db840685eb8e0778f617d6cf9bc1a11 100644 (file)
@@ -296,7 +296,8 @@ int Selection::initOriginalIdsToGroup(const gmx_mtop_t* top, e_index_t type)
         std::string message = formatString(
                 "Cannot group selection '%s' into %s, because some "
                 "positions have atoms from more than one such group.",
-                name(), type == INDEX_MOL ? "molecules" : "residues");
+                name(),
+                type == INDEX_MOL ? "molecules" : "residues");
         GMX_THROW(InconsistentInputError(message));
     }
 }
@@ -304,8 +305,14 @@ int Selection::initOriginalIdsToGroup(const gmx_mtop_t* top, e_index_t type)
 
 void Selection::printInfo(FILE* fp) const
 {
-    fprintf(fp, "\"%s\" (%d position%s, %d atom%s%s)", name(), posCount(), posCount() == 1 ? "" : "s",
-            atomCount(), atomCount() == 1 ? "" : "s", isDynamic() ? ", dynamic" : "");
+    fprintf(fp,
+            "\"%s\" (%d position%s, %d atom%s%s)",
+            name(),
+            posCount(),
+            posCount() == 1 ? "" : "s",
+            atomCount(),
+            atomCount() == 1 ? "" : "s",
+            isDynamic() ? ", dynamic" : "");
     fprintf(fp, "\n");
 }