Skip to content

Commit 8e225e9

Browse files
committed
Rename size_json_buffer to assign_json_buffer, comments.
1 parent 83571a7 commit 8e225e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/channels/channel_http.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ void channel_http::send(response&& response, result_handler&& handler) NOEXCEPT
152152
{
153153
BC_ASSERT(stranded());
154154

155-
size_json_buffer(response);
155+
assign_json_buffer(response);
156156
const auto ptr = system::move_shared(std::move(response));
157157
count_handler complete = std::bind(&channel_http::handle_send,
158158
shared_from_base<channel_http>(), _1, _2, ptr, std::move(handler));
@@ -176,7 +176,7 @@ void channel_http::handle_send(const code& ec, size_t, response_ptr&,
176176
}
177177

178178
// private
179-
void channel_http::size_json_buffer(response& response) NOEXCEPT
179+
void channel_http::assign_json_buffer(response& response) NOEXCEPT
180180
{
181181
if (const auto& body = response.body();
182182
body.contains<monad::json_value>())

0 commit comments

Comments
 (0)