Solving issue with using clang as the compiler

Change-Id: I4fa7b24af7008a30b0300b57ccbf1bc82dbfd66e
This commit is contained in:
Ammar ELWazir
2022-05-09 17:41:33 -05:00
rodzic f46d1717cc
commit 502ea835b9
+1 -1
Wyświetl plik
@@ -51,7 +51,7 @@ class MemoryPool {
// Create a consumer thread and wait for it to be ready to accept work.
std::promise<void> ready;
std::future<void> 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();
}