Rename to flat_static_buffer and flat_static_buffer_base (API Change):

Actions Required:

* Rename static_buffer to flat_static_buffer_base
* Rename static_buffer_n to flat_static_buffer
This commit is contained in:
Vinnie Falco
2017-07-20 08:15:31 -07:00
parent 1d7d7445d5
commit 94e92e75b7
23 changed files with 140 additions and 117 deletions
+3 -3
View File
@@ -11,7 +11,7 @@
#include "test_parser.hpp"
#include <beast/core/ostream.hpp>
#include <beast/core/static_buffer.hpp>
#include <beast/core/flat_static_buffer.hpp>
#include <beast/http/fields.hpp>
#include <beast/http/dynamic_body.hpp>
#include <beast/http/parser.hpp>
@@ -135,7 +135,7 @@ public:
"10\r\n"
"****************\r\n"
"0\r\n\r\n";
static_buffer_n<1024> b;
flat_static_buffer<1024> b;
request<string_body> req;
try
{
@@ -159,7 +159,7 @@ public:
"****************\r\n"
"0\r\n\r\n";
error_code ec = test::error::fail_error;
static_buffer_n<10> b;
flat_static_buffer<10> b;
request<string_body> req;
read(p.server, b, req, ec);
BEAST_EXPECTS(ec == error::buffer_overflow,