Browse Source

Merge pull request #340 from al42and/openssl-boost-asio-check

Better checking if boost::asio::buffer works with std::array
pull/347/head
orignal 9 years ago
parent
commit
f545e6eb27
  1. 2
      I2PControl.cpp

2
I2PControl.cpp

@ -209,7 +209,7 @@ namespace client
{ {
auto request = std::make_shared<I2PControlBuffer>(); auto request = std::make_shared<I2PControlBuffer>();
socket->async_read_some ( socket->async_read_some (
#if BOOST_VERSION >= 104900 #if defined(BOOST_ASIO_HAS_STD_ARRAY)
boost::asio::buffer (*request), boost::asio::buffer (*request),
#else #else
boost::asio::buffer (request->data (), request->size ()), boost::asio::buffer (request->data (), request->size ()),

Loading…
Cancel
Save