mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-14 09:37:56 -05:00
input_common/udp_client: Prevent unnecessary string copies
We can also remove some redundant const on the return values, since these don't do anything
This commit is contained in:
@ -145,8 +145,8 @@ private:
|
||||
void OnPortInfo(Response::PortInfo);
|
||||
void OnPadData(Response::PadData, std::size_t client);
|
||||
void StartCommunication(std::size_t client, const std::string& host, u16 port);
|
||||
const PadIdentifier GetPadIdentifier(std::size_t pad_index) const;
|
||||
const Common::UUID GetHostUUID(const std::string host) const;
|
||||
PadIdentifier GetPadIdentifier(std::size_t pad_index) const;
|
||||
Common::UUID GetHostUUID(const std::string& host) const;
|
||||
|
||||
Common::Input::ButtonNames GetUIButtonName(const Common::ParamPackage& params) const;
|
||||
|
||||
|
Reference in New Issue
Block a user