wip
This commit is contained in:
parent
c2c0d3e565
commit
14bdf07464
@ -54,7 +54,8 @@ boost::optional<ParsedURL> parseURL(std::string::iterator &iter, const std::stri
|
|||||||
{
|
{
|
||||||
iter = iter_copy;
|
iter = iter_copy;
|
||||||
// TODO: find a way to do it more effective
|
// TODO: find a way to do it more effective
|
||||||
std::string parsed_part = "/" + out.service + "/v" + std::to_string(out.version) + "/" + out.profile + "/";
|
std::string parsed_part =
|
||||||
|
"/" + out.service + "/v" + std::to_string(out.version) + "/" + out.profile + "/";
|
||||||
out.prefix_length = parsed_part.length();
|
out.prefix_length = parsed_part.length();
|
||||||
return boost::make_optional(out);
|
return boost::make_optional(out);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user