mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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