Move template parameter in Thread to a more logical scope location.

This commit is contained in:
Adam Ierymenko
2013-08-08 09:19:36 -04:00
parent 20f8668c28
commit 8a46452a70
10 changed files with 20 additions and 21 deletions

View File

@ -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)