1
1
Fork 0
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

This commit is contained in:
John Ericson 2025-08-22 12:02:02 -04:00
parent d7612f350f
commit 4083eff0c0
2 changed files with 3 additions and 3 deletions

View file

@ -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) {