From 0b616909e3472a4360e22d6b01749ee44092e967 Mon Sep 17 00:00:00 2001 From: faketruth Date: Sun, 19 Feb 2012 23:00:00 +0000 Subject: Using own ASSERT() that logs to file git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/packets/cPacket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/packets/cPacket.h') diff --git a/source/packets/cPacket.h b/source/packets/cPacket.h index fbdde5ac3..7eb224c9e 100644 --- a/source/packets/cPacket.h +++ b/source/packets/cPacket.h @@ -42,7 +42,7 @@ public: virtual int Parse(const char * a_Data, int a_Size) { LOGERROR("Undefined Parse function for packet type 0x%x\n", m_PacketID ); - assert(!"Undefined Parse function"); + ASSERT(!"Undefined Parse function"); return -1; } @@ -50,7 +50,7 @@ public: virtual void Serialize(AString & a_Data) const { LOGERROR("Undefined Serialize function for packet type 0x%x\n", m_PacketID ); - assert(!"Undefined Serialize function"); + ASSERT(!"Undefined Serialize function"); } virtual cPacket * Clone() const = 0; -- cgit v1.2.3