From 5e75b104d64ed1dda4476c24ad99228bb7f251b0 Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 3 Sep 2019 14:04:31 +0300 Subject: [PATCH] Fix backtracer --- include/spdlog/details/backtracer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/details/backtracer.h b/include/spdlog/details/backtracer.h index f8dd8428..a33c6458 100644 --- a/include/spdlog/details/backtracer.h +++ b/include/spdlog/details/backtracer.h @@ -43,7 +43,7 @@ public: } // pop all items in the q and apply the given fun on each of them. - void foreach_pop(std::function fun) + void foreach_pop(std::function fun) { std::lock_guard lock{mutex_}; while (!messages_.empty())