From 35f378aef9e2da3b24b2adb182f165d52da6a09b Mon Sep 17 00:00:00 2001 From: KingPin Date: Mon, 20 Oct 2008 12:23:56 -0500 Subject: [svn] * fixed help for subcommands - source mangos * Renamed accounts column tbc to expansion and it only took a little over 4 hours o.O --HG-- branch : trunk --- src/shared/ByteBuffer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/shared/ByteBuffer.h') diff --git a/src/shared/ByteBuffer.h b/src/shared/ByteBuffer.h index f2f6f45acbd..e7a28d739ba 100644 --- a/src/shared/ByteBuffer.h +++ b/src/shared/ByteBuffer.h @@ -201,7 +201,7 @@ class ByteBuffer return *this; } - uint8 operator[](size_t pos) + uint8 operator[](size_t pos) const { return read(pos); } @@ -309,7 +309,7 @@ class ByteBuffer ASSERT(pos + cnt <= size() || PrintPosError(true,pos,cnt)); memcpy(&_storage[pos], src, cnt); } - void print_storage() + void print_storage() const { if(!sLog.IsOutDebug()) // optimize disabled debug output return; @@ -320,7 +320,7 @@ class ByteBuffer sLog.outDebug(" "); } - void textlike() + void textlike() const { if(!sLog.IsOutDebug()) // optimize disabled debug output return; @@ -331,7 +331,7 @@ class ByteBuffer sLog.outDebug(" "); } - void hexlike() + void hexlike() const { if(!sLog.IsOutDebug()) // optimize disabled debug output return; -- cgit v1.2.3