Skip to content

Commit ebb19cc

Browse files
edolstraMic92
andauthored
Drop std::make_pair
Co-authored-by: Jörg Thalheim <[email protected]>
1 parent 8502819 commit ebb19cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libflake/flake/flakeref.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ static std::pair<FlakeRef, std::string> fromParsedURL(
7878
std::string fragment;
7979
std::swap(fragment, parsedURL.fragment);
8080

81-
return std::make_pair(FlakeRef(fetchers::Input::fromURL(fetchSettings, parsedURL, isFlake), dir), fragment);
81+
return {FlakeRef(fetchers::Input::fromURL(fetchSettings, parsedURL, isFlake), dir), fragment};
8282
}
8383

8484
std::pair<FlakeRef, std::string> parsePathFlakeRefWithFragment(

0 commit comments

Comments
 (0)