From 64ecfda6e3b5a54e436ac5dc8320503f2d6cd4ea Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 20 Dec 2014 18:57:52 +0200 Subject: [PATCH] async exception - removed uneeded reset --- include/spdlog/details/async_log_helper.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/spdlog/details/async_log_helper.h b/include/spdlog/details/async_log_helper.h index af6efa26..683cc9fc 100644 --- a/include/spdlog/details/async_log_helper.h +++ b/include/spdlog/details/async_log_helper.h @@ -264,7 +264,6 @@ inline void spdlog::details::async_log_helper::throw_if_bad_worker() if (_last_workerthread_ex) { auto ex = std::move(_last_workerthread_ex); - _last_workerthread_ex.reset(); throw *ex; } if (!_active)