projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure curly-braces around control-flow
[folly.git]
/
folly
/
io
/
async
/
test
/
EventBaseTest.cpp
diff --git
a/folly/io/async/test/EventBaseTest.cpp
b/folly/io/async/test/EventBaseTest.cpp
index 1353976ee9bf80c305d3681d26b9063f98b0cce9..5ffa8da4920c0ada801e308bbac3b6ac9b6d0618 100644
(file)
--- a/
folly/io/async/test/EventBaseTest.cpp
+++ b/
folly/io/async/test/EventBaseTest.cpp
@@
-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);
}