mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
parent
e1178b8a39
commit
21fe544ed9
1 changed files with 0 additions and 1 deletions
|
@ -22,7 +22,6 @@ ParsedURL parseURL(const std::string & url)
|
|||
std::smatch match;
|
||||
|
||||
if (std::regex_match(url, match, uriRegex)) {
|
||||
auto & base = match[1];
|
||||
std::string scheme = match[2];
|
||||
auto authority = match[3].matched
|
||||
? std::optional<std::string>(match[3]) : std::nullopt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue