diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-09-02 19:29:33 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-09-02 19:29:33 -0700 |
commit | 87a8a1975e3663254e05528900d6984f3f4c51f4 (patch) | |
tree | d4df30dc92db2c454023c7b8bac17e8f90550ce5 /unsupported/test/cxx11_eventcount.cpp | |
parent | 13df3441ae4df1313de213b3965fad60306cad21 (diff) |
Fixed a regression test
Diffstat (limited to 'unsupported/test/cxx11_eventcount.cpp')
-rw-r--r-- | unsupported/test/cxx11_eventcount.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/test/cxx11_eventcount.cpp b/unsupported/test/cxx11_eventcount.cpp index f16cc6f07..366df9cee 100644 --- a/unsupported/test/cxx11_eventcount.cpp +++ b/unsupported/test/cxx11_eventcount.cpp @@ -25,7 +25,7 @@ int rand_reentrant(unsigned int* s) { static void test_basic_eventcount() { - std::vector<EventCount::Waiter> waiters(1); + MaxSizeVector<EventCount::Waiter> waiters(1); EventCount ec(waiters); EventCount::Waiter& w = waiters[0]; ec.Notify(false); @@ -81,7 +81,7 @@ static void test_stress_eventcount() static const int kEvents = 1 << 16; static const int kQueues = 10; - std::vector<EventCount::Waiter> waiters(kThreads); + MaxSizeVector<EventCount::Waiter> waiters(kThreads); EventCount ec(waiters); TestQueue queues[kQueues]; |