Rename to max_needed for clarity

This commit is contained in:
Vinnie Falco
2013-08-15 23:48:05 -07:00
parent 4952ea2707
commit 4c605a79b7
2 changed files with 13 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ public:
ec = boost::system::error_code ();
m_buffer.commit (boost::asio::read (m_next_layer,
m_buffer.prepare (m_detector.needed ()), ec));
m_buffer.prepare (m_detector.max_needed ()), ec));
if (!ec)
{