From 32dd298dc2d60fe0454e70b818d64941392c5b41 Mon Sep 17 00:00:00 2001 From: ZaneWong <41528085+zanewong233@users.noreply.github.com> Date: Wed, 24 Dec 2025 01:15:04 +0800 Subject: [PATCH] Docs: fix misleading comment in blocking_queue header (#3504) --- include/spdlog/details/mpmc_blocking_q.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/spdlog/details/mpmc_blocking_q.h b/include/spdlog/details/mpmc_blocking_q.h index 5848cca8..f153f6c2 100644 --- a/include/spdlog/details/mpmc_blocking_q.h +++ b/include/spdlog/details/mpmc_blocking_q.h @@ -5,8 +5,8 @@ // multi producer-multi consumer blocking queue. // enqueue(..) - will block until room found to put the new message. -// enqueue_nowait(..) - will return immediately with false if no room left in -// the queue. +// enqueue_nowait(..) - enqueue immediately. overruns oldest message if no +// room left. // dequeue_for(..) - will block until the queue is not empty or timeout have // passed.