diff options
| author | 2020-10-16 21:20:01 -0700 | |
|---|---|---|
| committer | 2020-10-16 21:20:01 -0700 | |
| commit | cb708631b6d891633ad4079d7796249c19147e3f (patch) | |
| tree | 250b1712e0d426636a59ddb0000eaa7dabed5da5 /src/input_common/udp/client.h | |
| parent | Merge pull request #4790 from lioncash/input-common (diff) | |
| parent | udp/client: Make use of designated initializers in TestCommunication() (diff) | |
| download | yuzu-cb708631b6d891633ad4079d7796249c19147e3f.tar.gz yuzu-cb708631b6d891633ad4079d7796249c19147e3f.tar.xz yuzu-cb708631b6d891633ad4079d7796249c19147e3f.zip | |
Merge pull request #4798 from lioncash/input-copy
udp/client: Take std::function by const reference with TestCommunication()
Diffstat (limited to 'src/input_common/udp/client.h')
| -rw-r--r-- | src/input_common/udp/client.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/udp/client.h b/src/input_common/udp/client.h index 2491a03a2..747e0c0a2 100644 --- a/src/input_common/udp/client.h +++ b/src/input_common/udp/client.h | |||
| @@ -150,7 +150,7 @@ private: | |||
| 150 | }; | 150 | }; |
| 151 | 151 | ||
| 152 | void TestCommunication(const std::string& host, u16 port, std::size_t pad_index, u32 client_id, | 152 | void TestCommunication(const std::string& host, u16 port, std::size_t pad_index, u32 client_id, |
| 153 | std::function<void()> success_callback, | 153 | const std::function<void()>& success_callback, |
| 154 | std::function<void()> failure_callback); | 154 | const std::function<void()>& failure_callback); |
| 155 | 155 | ||
| 156 | } // namespace InputCommon::CemuhookUDP | 156 | } // namespace InputCommon::CemuhookUDP |