async exception - removed uneeded reset

This commit is contained in:
gabime 2014-12-20 18:57:52 +02:00
parent b38a36451d
commit 64ecfda6e3

View File

@ -264,7 +264,6 @@ inline void spdlog::details::async_log_helper::throw_if_bad_worker()
if (_last_workerthread_ex) if (_last_workerthread_ex)
{ {
auto ex = std::move(_last_workerthread_ex); auto ex = std::move(_last_workerthread_ex);
_last_workerthread_ex.reset();
throw *ex; throw *ex;
} }
if (!_active) if (!_active)