aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/drivers/udp_client.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-01-24 10:58:22 -0500
committerLioncash <mathew1800@gmail.com>2022-01-24 10:58:25 -0500
commitb084a9bf0aeecee6e15c62cddf743ce07389a60f (patch)
tree74bf120235a501273536364666e7504366200797 /src/input_common/drivers/udp_client.h
parent2136ebccd65a27bc4aa64e5f9174abd994247641 (diff)
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
Diffstat (limited to 'src/input_common/drivers/udp_client.h')
-rw-r--r--src/input_common/drivers/udp_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/drivers/udp_client.h b/src/input_common/drivers/udp_client.h
index 61a1fff376..30d7c26821 100644
--- a/src/input_common/drivers/udp_client.h
+++ b/src/input_common/drivers/udp_client.h
@@ -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;