Ticket #6877: boost-exception-exception_ptr_test.cpp.patch

File boost-exception-exception_ptr_test.cpp.patch, 586 bytes (added by David Deakins, 10 years ago)

patch file

  • exception_ptr_test.cpp

     
    4444
    4545    explicit
    4646    thread_handle( boost::function<void()> const & f ):
    47         t_(boost::bind(thread_wrapper,f,err_))
     47        t_(boost::bind(thread_wrapper,f,boost::ref(err_)))
    4848        {
    4949        }
    5050
     
    7979        ++exc_count;
    8080        }
    8181
    82     exc( exc const & )
     82    exc( exc const & rt ) : boost::exception( rt )
    8383        {
    8484        ++exc_count;
    8585        }