Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86777 - trunk/boost/interprocess/detail
From: igaztanaga_at_[hidden]
Date: 2013-11-20 12:10:43


Author: igaztanaga
Date: 2013-11-20 12:10:43 EST (Wed, 20 Nov 2013)
New Revision: 86777
URL: http://svn.boost.org/trac/boost/changeset/86777

Log:
Fixed error when adding os_thread_func_ptr_deleter, UNIX OSs also use it.

Text files modified:
   trunk/boost/interprocess/detail/os_thread_functions.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/interprocess/detail/os_thread_functions.hpp
==============================================================================
--- trunk/boost/interprocess/detail/os_thread_functions.hpp Tue Nov 19 18:54:15 2013 (r86776)
+++ trunk/boost/interprocess/detail/os_thread_functions.hpp 2013-11-20 12:10:43 EST (Wed, 20 Nov 2013) (r86777)
@@ -510,8 +510,6 @@
    virtual void run() = 0;
 };
 
-#if defined(BOOST_INTERPROCESS_WINDOWS)
-
 template<class T>
 class os_thread_func_ptr_deleter
 {
@@ -536,6 +534,8 @@
    T *m_p;
 };
 
+#if defined(BOOST_INTERPROCESS_WINDOWS)
+
 inline unsigned __stdcall launch_thread_routine( void * pv )
 {
    os_thread_func_ptr_deleter<abstract_thread> pt( static_cast<abstract_thread *>( pv ) );


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk