Commit 67f5e1ea authored by Dan Melnic's avatar Dan Melnic Committed by Facebook Github Bot

Fix broken build due to "missing braces around initializer" error

Summary: Fix broken build due to "missing braces around initializer" error

Reviewed By: nbronson

Differential Revision: D8541080

fbshipit-source-id: f73f973c575b6d3dad999a454d1306f7608122c7
parent 16a2a017
...@@ -1022,7 +1022,7 @@ struct RunAllValueSizeTests { ...@@ -1022,7 +1022,7 @@ struct RunAllValueSizeTests {
S<Key, CharArrayHasher, std::equal_to<Key>, std::allocator<Key>> set; S<Key, CharArrayHasher, std::equal_to<Key>, std::allocator<Key>> set;
for (int i = 0; i < 100; ++i) { for (int i = 0; i < 100; ++i) {
Key key{static_cast<char>(i)}; Key key{{static_cast<char>(i)}};
set.insert(key); set.insert(key);
} }
while (!set.empty()) { while (!set.empty()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment