more fixes...the destructor is a bit of a fake, just to shut up the warning

This commit is contained in:
CodeCodon
2015-08-09 01:53:05 -05:00
parent 0fa03e702b
commit b01c094f43
2 changed files with 1 additions and 3 deletions
@@ -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 &);