diff --git a/include/spdlog/details/mpmc_bounded_q.h b/include/spdlog/details/mpmc_bounded_q.h index c963bc93..3a46e8eb 100644 --- a/include/spdlog/details/mpmc_bounded_q.h +++ b/include/spdlog/details/mpmc_bounded_q.h @@ -159,9 +159,9 @@ private: cell_t* const buffer_; size_t const buffer_mask_; cacheline_pad_t pad1_; - std::atomic enqueue_pos_ {0}; + std::atomic enqueue_pos_; cacheline_pad_t pad2_; - std::atomic dequeue_pos_ {0}; + std::atomic dequeue_pos_; cacheline_pad_t pad3_; mpmc_bounded_queue(mpmc_bounded_queue const&) = delete;