Ticket #2602: boost_thread_move.patch

File boost_thread_move.patch, 444 bytes (added by Jonathan Wakely <jwakely.boost@…>, 14 years ago)

partial fix for move semantics with Sun compiler

  • boost/thread/detail/thread.hpp

    old new  
    339339        return t;
    340340    }
    341341#else
     342# ifdef __SUNPRO_CC
     343    inline detail::thread_move_t<thread> move(thread& t)
     344    {
     345        return t;
     346    }
     347# else
    342348    inline thread move(detail::thread_move_t<thread> t)
    343349    {
    344350        return thread(t);
    345351    }
     352# endif
    346353#endif
    347354
    348355    namespace this_thread