mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
Drop std::make_pair
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
This commit is contained in:
parent
850281908c
commit
ebb19cc1cd
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ static std::pair<FlakeRef, std::string> fromParsedURL(
|
|||
std::string fragment;
|
||||
std::swap(fragment, parsedURL.fragment);
|
||||
|
||||
return std::make_pair(FlakeRef(fetchers::Input::fromURL(fetchSettings, parsedURL, isFlake), dir), fragment);
|
||||
return {FlakeRef(fetchers::Input::fromURL(fetchSettings, parsedURL, isFlake), dir), fragment};
|
||||
}
|
||||
|
||||
std::pair<FlakeRef, std::string> parsePathFlakeRefWithFragment(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue