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
/
test
/
FixedStringTest.cpp
diff --git
a/folly/test/FixedStringTest.cpp
b/folly/test/FixedStringTest.cpp
index 121e94fe4d3070b6e6da052a15e1cfc72e2a02eb..437bd67ce82b5205f463dfeee9d5f7827d087c0a 100644
(file)
--- a/
folly/test/FixedStringTest.cpp
+++ b/
folly/test/FixedStringTest.cpp
@@
-641,8
+641,9
@@
constexpr std::size_t countSpacesReverse(folly::FixedString<50> s) {
std::size_t count = 0u;
auto i = s.rbegin();
for( ; i != s.rend(); ++i, --i, i++, i--, i+=1, i-=1, i+=1 ) {
- if (' ' == *i)
+ if (' ' == *i)
{
++count;
+ }
}
return count;
}