mirror of
https://github.com/NixOS/nix.git
synced 2025-11-16 07:22:43 +01:00
decodeQuery Take std::string_view not string ref
(cherry picked from commit 4083eff0c0)
This commit is contained in:
parent
f777aa70d3
commit
752d0ef1c0
2 changed files with 3 additions and 3 deletions
|
|
@ -82,7 +82,7 @@ std::pair<FlakeRef, std::string> parsePathFlakeRefWithFragment(
|
|||
auto succeeds = std::regex_match(url, match, pathFlakeRegex);
|
||||
assert(succeeds);
|
||||
auto path = match[1].str();
|
||||
auto query = decodeQuery(match[3]);
|
||||
auto query = decodeQuery(match[3].str());
|
||||
auto fragment = percentDecode(match[5].str());
|
||||
|
||||
if (baseDir) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue