diff -ruN old/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp new/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp --- old/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp 2016-04-10 15:15:39.000000000 +0430 +++ new/libs/boost-logging/boost/logging/detail/tss/tss_impl_pthread.hpp 2016-06-18 11:18:42.736469469 +0430 @@ -39,7 +39,7 @@ slots = static_cast( pthread_getspecific(tss_data_native_key())); if (slots == 0) { - std::auto_ptr temp( new_object_ensure_delete() ); + std::unique_ptr temp( new_object_ensure_delete() ); // pre-allocate a few elems, so that we'll be fast temp->resize(BOOST_LOG_TSS_SLOTS_SIZE);