Mark constexpr values needed within non-implicitly-capturing lambdas as static
authorChristopher Dykes <cdykes@fb.com>
Sat, 20 May 2017 03:33:41 +0000 (20:33 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 20 May 2017 03:40:28 +0000 (20:40 -0700)
commit79e5fd2fa293cf03269d4b7bba9ed7a31dda1cd8
treedf07c5864db1a43b8174a3b7d84d777ce2acf49b
parentf9da986ca9c8d0727133107e416d4b6a07310910
Mark constexpr values needed within non-implicitly-capturing lambdas as static

Summary: MSVC needs these to be marked as `static` in order to be accessible within the lambdas without capturing them.

Reviewed By: yfeldblum

Differential Revision: D5099607

fbshipit-source-id: 0270e2191d504f74b1902789b662e1766b2056c4
folly/fibers/test/FibersTest.cpp
folly/futures/test/BarrierTest.cpp
folly/io/test/CompressionTest.cpp
folly/test/AtomicLinkedListTest.cpp
folly/test/SingletonThreadLocalTest.cpp