diff --git a/boost/threadpool/detail/pool_core.hpp b/boost/threadpool/detail/pool_core.hpp index 8c72803..b3af127 100644 --- a/boost/threadpool/detail/pool_core.hpp +++ b/boost/threadpool/detail/pool_core.hpp @@ -350,7 +350,7 @@ namespace boost { namespace threadpool { namespace detail m_worker_count++; m_active_worker_count++; } - catch(thread_resource_error) + catch(const thread_resource_error&) { return false; }