Skip to content

Commit

Permalink
fix warning in initialisation order
Browse files Browse the repository at this point in the history
  • Loading branch information
odygrd committed Nov 5, 2023
1 parent a33d3a1 commit d3994e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quill/include/quill/detail/spsc_queue/UnboundedQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}

Expand Down

0 comments on commit d3994e5

Please sign in to comment.