folly: allow to build with clang.dev (flex arrays vs. lambda)
authorJim Meyering <meyering@fb.com>
Fri, 4 Apr 2014 20:14:20 +0000 (13:14 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 18 Apr 2014 19:04:14 +0000 (12:04 -0700)
commita6e257a52099066cd8baf2f942412aa51fcede10
tree4d22ec7f01db84fb599e814c27fa064e4198c78a
parent970c79617bdb988f7f69c3db483a9188382af541
folly: allow to build with clang.dev (flex arrays vs. lambda)

Summary:
* folly/test/CacheLocalityTest.cpp (contentionAtWidth): Work around
clang's prohibition against using flexible arrays in a lambda.

Test Plan:
fbconfig --clang --with-project-version clang:dev folly/test \
&& fbmake runtests

Reviewed By: ngbronson@fb.com

FB internal diff: D1263620
folly/test/CacheLocalityTest.cpp