Move template parameter in Thread to a more logical scope location.
This commit is contained in:
parent
20f8668c28
commit
8a46452a70
10 changed files with 20 additions and 21 deletions
|
@ -120,7 +120,7 @@ UdpSocket::UdpSocket(
|
|||
}
|
||||
}
|
||||
|
||||
_thread = Thread<UdpSocket>::start(this);
|
||||
_thread = Thread::start(this);
|
||||
}
|
||||
|
||||
UdpSocket::~UdpSocket()
|
||||
|
@ -131,7 +131,7 @@ UdpSocket::~UdpSocket()
|
|||
::shutdown(s,SHUT_RDWR);
|
||||
::close(s);
|
||||
}
|
||||
Thread<UdpSocket>::join(_thread);
|
||||
Thread::join(_thread);
|
||||
}
|
||||
|
||||
bool UdpSocket::send(const InetAddress &to,const void *data,unsigned int len,int hopLimit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue