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

Better checking if boost::asio::buffer works with std::array
This commit is contained in:
orignal 2016-01-23 13:53:12 -05:00
commit f545e6eb27

View File

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