aboutsummaryrefslogtreecommitdiff
path: root/src/shared/ByteBuffer.h
diff options
context:
space:
mode:
authorKingPin <none@none>2008-10-20 12:23:56 -0500
committerKingPin <none@none>2008-10-20 12:23:56 -0500
commit35f378aef9e2da3b24b2adb182f165d52da6a09b (patch)
tree317bd32acf1b2447ed11cd6b9962e000dfaeaffc /src/shared/ByteBuffer.h
parenta1d00528a32f124f99ea26273b7172c2a5e2868e (diff)
[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
Diffstat (limited to 'src/shared/ByteBuffer.h')
-rw-r--r--src/shared/ByteBuffer.h8
1 files changed, 4 insertions, 4 deletions
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<uint8>(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;