Ticket #3844: thread.diff

File thread.diff, 446 bytes (added by anonymous, 13 years ago)
  • boost/thread/detail/thread.hpp

    old new  
    346346#ifdef BOOST_HAS_RVALUE_REFS
    347347    inline thread&& move(thread&& t)
    348348    {
    349         return t;
     349        return static_cast<thread&&>(t);
    350350    }
    351351#else
    352352    inline detail::thread_move_t<thread> move(detail::thread_move_t<thread> t)