Fix all of the tests.
This commit is contained in:
@@ -100,7 +100,7 @@ void test_tasks_f(size_t id)
|
||||
|
||||
void test_tasks(size_t num_tasks, size_t count, size_t size)
|
||||
{
|
||||
Alloc* a = ThreadAlloc::get();
|
||||
Alloc*& a = ThreadAlloc::get();
|
||||
|
||||
contention = new std::atomic<size_t*>[size];
|
||||
xoroshiro::p128r32 r;
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace test
|
||||
|
||||
void test_external_pointer(xoroshiro::p128r64& r)
|
||||
{
|
||||
auto* alloc = ThreadAlloc::get();
|
||||
auto& alloc = ThreadAlloc::get();
|
||||
|
||||
setup(r, alloc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user