diff --git a/projects/roctracer/src/core/memory_pool.h b/projects/roctracer/src/core/memory_pool.h index 7e5837b486..d2e453e343 100644 --- a/projects/roctracer/src/core/memory_pool.h +++ b/projects/roctracer/src/core/memory_pool.h @@ -51,7 +51,7 @@ class MemoryPool { // Create a consumer thread and wait for it to be ready to accept work. std::promise ready; std::future future = ready.get_future(); - consumer_thread_ = std::thread(ConsumerThreadLoop, this, std::move(ready)); + consumer_thread_ = std::thread(&MemoryPool::ConsumerThreadLoop, this, std::move(ready)); future.wait(); }