From d3994e50e5a22841ab6a4f3c6070d62d404d3dd3 Mon Sep 17 00:00:00 2001 From: Odysseas Georgoudis Date: Sun, 5 Nov 2023 11:09:22 +0000 Subject: [PATCH] fix warning in initialisation order --- quill/include/quill/detail/spsc_queue/UnboundedQueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quill/include/quill/detail/spsc_queue/UnboundedQueue.h b/quill/include/quill/detail/spsc_queue/UnboundedQueue.h index 26fd1763..ebb75425 100644 --- a/quill/include/quill/detail/spsc_queue/UnboundedQueue.h +++ b/quill/include/quill/detail/spsc_queue/UnboundedQueue.h @@ -59,7 +59,7 @@ class UnboundedQueue * Constructor */ explicit UnboundedQueue(uint32_t initial_bounded_queue_capacity, bool huge_pages = false) - : _producer(new Node(initial_bounded_queue_capacity, huge_pages)), _consumer(_producer), _huge_pages(huge_pages) + : _huge_pages(huge_pages), _producer(new Node(initial_bounded_queue_capacity, huge_pages)), _consumer(_producer) { }