Commit 4bd573d6 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot

Mark a couple more local constexpr values as static

Summary: Because MSVC doesn't let you access it without capturing it from within a lambda otherwise.

Reviewed By: yfeldblum

Differential Revision: D4199867

fbshipit-source-id: 7b829b2cc373edbebe3498901fa323c89a211818
parent 21b43d2d
......@@ -1829,8 +1829,8 @@ TEST(EventBaseTest, LoopKeepAliveShutdown) {
TEST(EventBaseTest, LoopKeepAliveAtomic) {
auto evb = folly::make_unique<EventBase>();
constexpr size_t kNumThreads = 100;
constexpr size_t kNumTasks = 100;
static constexpr size_t kNumThreads = 100;
static constexpr size_t kNumTasks = 100;
std::vector<std::thread> ts;
std::vector<std::unique_ptr<Baton<>>> batons;
......
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