From 502ea835b91dcdc13ef1567b24e3a7a176587729 Mon Sep 17 00:00:00 2001 From: Ammar ELWazir Date: Mon, 9 May 2022 17:41:33 -0500 Subject: [PATCH] Solving issue with using clang as the compiler Change-Id: I4fa7b24af7008a30b0300b57ccbf1bc82dbfd66e --- src/core/memory_pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/memory_pool.h b/src/core/memory_pool.h index 7e5837b486..d2e453e343 100644 --- a/src/core/memory_pool.h +++ b/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(); }