Skip to content

Commit 400fbfa

Browse files
committed
[FOLD]
1 parent 8d17a7a commit 400fbfa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/boost/http_proto/server/route_handler.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,16 +255,16 @@ read_body(
255255
Callback&& callback) ->
256256
route_result
257257
{
258-
using type = typename std::decay<ValueSink>::type;
258+
using T = typename std::decay<ValueSink>::type;
259259

260260
struct on_finish
261261
{
262-
type& sink;
262+
T& sink;
263263
resumer resume;
264264
typename std::decay<Callback>::type cb;
265265

266266
on_finish(
267-
type& sink_,
267+
T& sink_,
268268
resumer resume_,
269269
Callback&& cb_)
270270
: sink(sink_)
@@ -283,7 +283,7 @@ read_body(
283283
[&](resumer resume)
284284
{
285285
finish_ = on_finish(
286-
this->parser.set_body<type>(
286+
this->parser.set_body<T>(
287287
std::forward<ValueSink>(sink)),
288288
resume,
289289
std::forward<Callback>(callback));

0 commit comments

Comments
 (0)