projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(Folly/Gen) Fix compilation with clang
[folly.git]
/
folly
/
gen
/
test
/
BaseTest.cpp
diff --git
a/folly/gen/test/BaseTest.cpp
b/folly/gen/test/BaseTest.cpp
index 6f58e732a49c03c911621a8ab56041e425d4e32e..06e50f376014ef964d2dc08d33f00ee84858e0d1 100644
(file)
--- a/
folly/gen/test/BaseTest.cpp
+++ b/
folly/gen/test/BaseTest.cpp
@@
-882,7
+882,7
@@
TEST(Gen, Cycle) {
TEST(Gen, Dereference) {
{
const int x = 4, y = 2;
- auto s = from
<const int*>({&x, nullptr, &y}
);
+ auto s = from
(std::initializer_list<const int*>({&x, nullptr, &y})
);
EXPECT_EQ(6, s | dereference | sum);
}
{