aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/cxx11_eventcount.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-04-15 11:27:52 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-04-15 11:27:52 -0700
commit40c9923a8aa84bb273e003a92e7cbd644bdecc4c (patch)
treea5dcb2f26044e5669e4ad6fa6e13f7c1cd1cf8ba /unsupported/test/cxx11_eventcount.cpp
parent1d2343062805edb86113e2aef5ebcbe5030a57a5 (diff)
Fixed compilation errors with msvc
Diffstat (limited to 'unsupported/test/cxx11_eventcount.cpp')
-rw-r--r--unsupported/test/cxx11_eventcount.cpp4
1 files changed, 2 insertions, 2 deletions
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<EventCount::Waiter> waiters(kThreads);
EventCount ec(waiters);