From 40c9923a8aa84bb273e003a92e7cbd644bdecc4c Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Fri, 15 Apr 2016 11:27:52 -0700 Subject: Fixed compilation errors with msvc --- unsupported/test/cxx11_eventcount.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unsupported/test/cxx11_eventcount.cpp') diff --git a/unsupported/test/cxx11_eventcount.cpp b/unsupported/test/cxx11_eventcount.cpp index 271e0f66d..ebd019e2d 100644 --- a/unsupported/test/cxx11_eventcount.cpp +++ b/unsupported/test/cxx11_eventcount.cpp @@ -67,8 +67,8 @@ const int TestQueue::kQueueSize; static void test_stress_eventcount() { const int kThreads = std::thread::hardware_concurrency(); - const int kEvents = 1 << 16; - const int kQueues = 10; + static const int kEvents = 1 << 16; + static const int kQueues = 10; std::vector waiters(kThreads); EventCount ec(waiters); -- cgit v1.2.3