Use field in basic_parser

This commit is contained in:
Vinnie Falco committed 2017-07-20 08:12:18 -07:00
1 parent ca25eee0dd
commit fb2f777b4d
9 files changed
+37 -33

No files matched your search

+1
View File
@@ -253,6 +253,7 @@ public:
match(field::proxy_authenticate, "Proxy-Authenticate");
match(field::proxy_authentication_info, "Proxy-Authentication-Info");
match(field::proxy_authorization, "Proxy-Authorization");
match(field::proxy_connection, "Proxy-Connection");
match(field::proxy_features, "Proxy-Features");
match(field::proxy_instruction, "Proxy-Instruction");
match(field::public_, "Public");
+2 -3
View File
@@ -178,9 +178,8 @@ public:
}
void
on_field(string_view,
string_view,
error_code&)
on_field(field,
string_view, string_view, error_code&)
{
}
+2 -3
View File
@@ -75,9 +75,8 @@ public:
}
void
on_field(string_view,
string_view,
error_code& ec)
on_field(field f, string_view,
string_view, error_code& ec)
{
got_on_field = true;
if(fc_)