mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-14 23:07:48 -04:00
more fixes...the destructor is a bit of a fake, just to shut up the warning
This commit is contained in:
@@ -318,7 +318,6 @@ void NetworkHandler::onTerminate(void * m, UdpConnectionMT * u)
|
||||
{
|
||||
if(m)
|
||||
{
|
||||
NetworkHandler * s = reinterpret_cast<NetworkHandler *>(m);
|
||||
if(u)
|
||||
{
|
||||
u->AddRef();
|
||||
@@ -552,7 +551,6 @@ void NetworkHandler::clearBytesThisFrame()
|
||||
if(reportMessages)
|
||||
{
|
||||
std::map<std::string, std::pair<int, int> >::iterator i;
|
||||
static std::pair<int, int> zeros = std::make_pair(0, 0);
|
||||
static char msgBuf[256];
|
||||
for(i = s_messageCount.begin(); i != s_messageCount.end(); ++i)
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@ public:
|
||||
virtual void OnConnectComplete(UdpConnection *con);
|
||||
virtual void OnTerminated(UdpConnection *con);
|
||||
virtual void OnPacketCorrupt(UdpConnection *con, const uchar *data, int dataLen, UdpCorruptionReason reason);
|
||||
|
||||
virtual void ~UdpConnectionHandlerInternal();
|
||||
private:
|
||||
UdpConnectionHandlerInternal(UdpConnectionHandlerInternal const &);
|
||||
UdpConnectionHandlerInternal &operator=(UdpConnectionHandlerInternal const &);
|
||||
|
||||
Reference in New Issue
Block a user