diff --git a/include/boost/interprocess/detail/os_thread_functions.hpp b/include/boost/interprocess/detail/os_thread_functions.hpp index 645c8be..adbad24 100644 --- a/include/boost/interprocess/detail/os_thread_functions.hpp +++ b/include/boost/interprocess/detail/os_thread_functions.hpp @@ -510,8 +510,6 @@ class abstract_thread virtual void run() = 0; }; -#if defined(BOOST_INTERPROCESS_WINDOWS) - template class os_thread_func_ptr_deleter { @@ -536,6 +534,8 @@ class os_thread_func_ptr_deleter T *m_p; }; +#if defined(BOOST_INTERPROCESS_WINDOWS) + inline unsigned __stdcall launch_thread_routine( void * pv ) { os_thread_func_ptr_deleter pt( static_cast( pv ) );