From e4ed7528e37b1e453c07adc6650779ce6f19be8d Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 26 May 2018 14:50:42 +0300 Subject: [PATCH] fixed class name --- include/spdlog/details/mpmc_blocking_q.h | 4 ++-- include/spdlog/details/thread_pool.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/spdlog/details/mpmc_blocking_q.h b/include/spdlog/details/mpmc_blocking_q.h index d4a8a41c..860fdc67 100644 --- a/include/spdlog/details/mpmc_blocking_q.h +++ b/include/spdlog/details/mpmc_blocking_q.h @@ -19,11 +19,11 @@ namespace spdlog { namespace details { template -class mpmc_bounded_queue +class mpmc_blocking_queue { public: using item_type = T; - explicit mpmc_bounded_queue(size_t max_items) + explicit mpmc_blocking_queue(size_t max_items) : max_items_(max_items) { } diff --git a/include/spdlog/details/thread_pool.h b/include/spdlog/details/thread_pool.h index b5e52939..46f935ee 100644 --- a/include/spdlog/details/thread_pool.h +++ b/include/spdlog/details/thread_pool.h @@ -83,7 +83,7 @@ namespace spdlog { { public: using item_type = async_msg; - using q_type = details::mpmc_bounded_queue; + using q_type = details::mpmc_blocking_queue; using clock_type = std::chrono::steady_clock; thread_pool(size_t q_size_bytes, size_t threads_n)