Commit a81a4d54 authored by Dominik Charousset's avatar Dominik Charousset

Fix formatting

parent c07450da
...@@ -130,9 +130,8 @@ void read_uri(State& ps, Consumer&& consumer) { ...@@ -130,9 +130,8 @@ void read_uri(State& ps, Consumer&& consumer) {
return res; return res;
}; };
// Allowed character sets. // Allowed character sets.
auto path_char = [](char c) { auto path_char
return uri_unprotected_char(c) || c == '/' || c == ':'; = [](char c) { return uri_unprotected_char(c) || c == '/' || c == ':'; };
};
// Utility setters for avoiding code duplication. // Utility setters for avoiding code duplication.
auto set_path = [&] { consumer.path(take_str()); }; auto set_path = [&] { consumer.path(take_str()); };
auto set_host = [&] { consumer.host(take_str()); }; auto set_host = [&] { consumer.host(take_str()); };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment