mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-08-11 10:17:45 +00:00
fix udp client
This commit is contained in:
parent
80c49d546c
commit
13f1c8ecca
@ -58,8 +58,8 @@ on_signal(int sig, FN &&fn) {
|
||||
template<class FN>
|
||||
class UDPClient {
|
||||
public:
|
||||
UDPClient(FN &&handler) {
|
||||
bufhandler = std::forward<FN>(handler);
|
||||
UDPClient(FN handler) {
|
||||
bufhandler = handler;
|
||||
}
|
||||
|
||||
void Bind(udp::endpoint _remote_endpoint) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user