diff options
Diffstat (limited to 'src/thread_pool.cpp')
| -rw-r--r-- | src/thread_pool.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread_pool.cpp b/src/thread_pool.cpp index d3073dc..15cc4e9 100644 --- a/src/thread_pool.cpp +++ b/src/thread_pool.cpp @@ -117,7 +117,8 @@ ThreadPoolHandle PkeThreads_Init(uint8_t threadCount, uint8_t maxQueueCount, Mem Buckets_Init(ThreadPool_BucketContainer); } assert(threadCount > 0); - ThreadPoolHandle_T newHandle{Buckets_NewHandle(255, ThreadPool_BucketContainer)}; + bool moved; + ThreadPoolHandle_T newHandle{Buckets_NewHandle(255, ThreadPool_BucketContainer, moved)}; auto b = Buckets_GetBucketIndex(newHandle); auto i = Buckets_GetItemIndex(newHandle); |
