mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
WC24PatchEngine: Make GetNetworkPatch() take a std::string_view
Makes it consistent with GetNetworkPatchByPayload()
This commit is contained in:
@@ -115,7 +115,7 @@ void Reload()
|
||||
LoadPatches();
|
||||
}
|
||||
|
||||
std::optional<std::string> GetNetworkPatch(const std::string& source, IsKD is_kd)
|
||||
std::optional<std::string> GetNetworkPatch(std::string_view source, IsKD is_kd)
|
||||
{
|
||||
const auto patch =
|
||||
std::find_if(s_patches.begin(), s_patches.end(), [&source, &is_kd](const NetworkPatch& p) {
|
||||
|
||||
Reference in New Issue
Block a user