Convert buffer in range loops

fix #485
This commit is contained in:
Vinnie Falco
2017-07-20 08:12:20 -07:00
parent 1037c5bfba
commit 82d76e4882
15 changed files with 20 additions and 13 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ operator<<(std::ostream& os,
{
using boost::asio::buffer_cast;
using boost::asio::buffer_size;
for(auto const& b : v.b_)
for(boost::asio::const_buffer b : v.b_)
os.write(buffer_cast<char const*>(b),
buffer_size(b));
return os;