aboutsummaryrefslogtreecommitdiffstats
path: root/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.h b/parser.h
index af1d6c3..642e735 100644
--- a/parser.h
+++ b/parser.h
@@ -83,7 +83,6 @@ namespace flask
return 0;
}
HTTPParser(Handler* handler) :
- handler_(handler),
settings_ {
on_message_begin,
on_url,
@@ -93,7 +92,8 @@ namespace flask
on_headers_complete,
on_body,
on_message_complete,
- }
+ },
+ handler_(handler)
{
http_parser_init(this, HTTP_REQUEST);
}