Ensure curly-braces around control-flow
[folly.git] / folly / io / async / test / EventBaseTest.cpp
index 1353976ee9bf80c305d3681d26b9063f98b0cce9..5ffa8da4920c0ada801e308bbac3b6ac9b6d0618 100644 (file)
@@ -1211,7 +1211,9 @@ TEST(EventBaseTest, RunInEventBaseThreadAndWait) {
     th.join();
   }
   size_t sum = 0;
-  for (auto& atom : atoms) sum += *atom;
+  for (auto& atom : atoms) {
+    sum += *atom;
+  }
   EXPECT_EQ(c, sum);
 }