Advertisement
ponce

Untitled

Dec 13th, 2019
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. CXX http_connection.lo
  2. In file included from /usr/include/boost/asio/write.hpp:1246,
  3. from ../include/libtorrent/socket.hpp:57,
  4. from ../include/libtorrent/http_connection.hpp:62,
  5. from http_connection.cpp:33:
  6. /usr/include/boost/asio/impl/write.hpp: In instantiation of ‘class boost::asio::detail::initiate_async_write_buffer_sequence<libtorrent::socket_type>’:
  7. /usr/include/boost/asio/impl/write.hpp:534:15: required from ‘typename boost::asio::async_result<typename std::decay<WriteHandler>::type, void(boost::system::error_code, long unsigned int)>::return_type boost::asio::async_write(AsyncWriteStream&, const ConstBufferSequence&, WriteHandler&&, typename std::enable_if<boost::asio::is_const_buffer_sequence<ConstBufferSequ
  8. ence>::value>::type*) [with AsyncWriteStream = libtorrent::socket_type; ConstBufferSequence = boost::asio::mutable_buffers_1; WriteHandler = boost::_bi::bind_t<void, boost::_mfi::mf1<void, libtorrent::http_connection, const boost::system::error_code&>, boost::_bi::list2<boost::_bi::value<boost::shared_ptr<libtorrent::http_connection> >, boost::arg<1> > >; typename boo
  9. st::asio::async_result<typename std::decay<WriteHandler>::type, void(boost::system::error_code, long unsigned int)>::return_type = void; typename std::enable_if<boost::asio::is_const_buffer_sequence<ConstBufferSequence>::value>::type = void]’
  10. http_connection.cpp:278:53: required from here
  11. /usr/include/boost/asio/impl/write.hpp:425:54: error: no type named ‘executor_type’ in ‘struct libtorrent::socket_type’
  12. 425 | typedef typename AsyncWriteStream::executor_type executor_type;
  13. | ^~~~~~~~~~~~~
  14. make[1]: *** [Makefile:940: http_connection.lo] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement