Rename to static_buffer, static_buffer_n (API Change):

These classes are renamed:

* static_streambuf to static_buffer
* static_streambuf_n to static_buffer_n
This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:16 -07:00
1 parent 6e47e9a0ac
commit aa9f42cd06
14 files changed
+82 -81

No files matched your search

+3 -3
View File
@@ -10,7 +10,7 @@
#include <beast/core/handler_helpers.hpp>
#include <beast/core/handler_ptr.hpp>
#include <beast/core/static_streambuf.hpp>
#include <beast/core/static_buffer.hpp>
#include <beast/core/stream_concepts.hpp>
#include <memory>
@@ -43,7 +43,7 @@ class stream<NextLayer>::close_op
, cr(cr_)
{
ws.template write_close<
static_streambuf>(fb, cr);
static_buffer>(fb, cr);
}
};
@@ -235,7 +235,7 @@ close(close_reason const& cr, error_code& ec)
BOOST_ASSERT(! wr_close_);
wr_close_ = true;
detail::frame_streambuf fb;
write_close<static_streambuf>(fb, cr);
write_close<static_buffer>(fb, cr);
boost::asio::write(stream_, fb.data(), ec);
failed_ = ec != 0;
}