diff options
author | Shauren <none@none> | 2010-12-23 23:25:44 +0100 |
---|---|---|
committer | Shauren <none@none> | 2010-12-23 23:25:44 +0100 |
commit | 928443d8993869dfbf3adceabe4ba0b3cfe0edef (patch) | |
tree | b30f1385e6f2dd8d95357590593aa2988b094593 /src/server/shared/Packets/ByteBuffer.h | |
parent | 95daf7998fc3b772fdcd70087c12db80bd5a031a (diff) |
Core: Removed more operator workarounds for ACE_Singleton (missed previously because of inconsistent naming)
--HG--
branch : trunk
Diffstat (limited to 'src/server/shared/Packets/ByteBuffer.h')
-rwxr-xr-x | src/server/shared/Packets/ByteBuffer.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/server/shared/Packets/ByteBuffer.h b/src/server/shared/Packets/ByteBuffer.h index 6fb28aa576b..5307c1051fd 100755 --- a/src/server/shared/Packets/ByteBuffer.h +++ b/src/server/shared/Packets/ByteBuffer.h @@ -35,7 +35,7 @@ class ByteBufferException void PrintPosError() const { - sLog.outError("Attempted to %s in ByteBuffer (pos: " SIZEFMTD " size: "SIZEFMTD") value with size: " SIZEFMTD, + sLog->outError("Attempted to %s in ByteBuffer (pos: " SIZEFMTD " size: "SIZEFMTD") value with size: " SIZEFMTD, (add ? "put" : "get"), pos, size, esize); } private: @@ -413,33 +413,33 @@ class ByteBuffer void print_storage() const { - if(!sLog.IsOutDebug()) // optimize disabled debug output + if(!sLog->IsOutDebug()) // optimize disabled debug output return; - sLog.outDebug("STORAGE_SIZE: %lu", (unsigned long)size() ); + sLog->outDebug("STORAGE_SIZE: %lu", (unsigned long)size() ); for (uint32 i = 0; i < size(); ++i) - sLog.outDebugInLine("%u - ", read<uint8>(i) ); - sLog.outDebug(" "); + sLog->outDebugInLine("%u - ", read<uint8>(i) ); + sLog->outDebug(" "); } void textlike() const { - if(!sLog.IsOutDebug()) // optimize disabled debug output + if(!sLog->IsOutDebug()) // optimize disabled debug output return; - sLog.outDebug("STORAGE_SIZE: %lu", (unsigned long)size() ); + sLog->outDebug("STORAGE_SIZE: %lu", (unsigned long)size() ); for (uint32 i = 0; i < size(); ++i) - sLog.outDebugInLine("%c", read<uint8>(i) ); - sLog.outDebug(" "); + sLog->outDebugInLine("%c", read<uint8>(i) ); + sLog->outDebug(" "); } void hexlike() const { - if(!sLog.IsOutDebug()) // optimize disabled debug output + if(!sLog->IsOutDebug()) // optimize disabled debug output return; uint32 j = 1, k = 1; - sLog.outDebug("STORAGE_SIZE: %lu", (unsigned long)size() ); + sLog->outDebug("STORAGE_SIZE: %lu", (unsigned long)size() ); for (uint32 i = 0; i < size(); ++i) { @@ -447,11 +447,11 @@ class ByteBuffer { if (read<uint8>(i) < 0x10) { - sLog.outDebugInLine("| 0%X ", read<uint8>(i) ); + sLog->outDebugInLine("| 0%X ", read<uint8>(i) ); } else { - sLog.outDebugInLine("| %X ", read<uint8>(i) ); + sLog->outDebugInLine("| %X ", read<uint8>(i) ); } ++j; } @@ -459,15 +459,15 @@ class ByteBuffer { if (read<uint8>(i) < 0x10) { - sLog.outDebugInLine("\n"); + sLog->outDebugInLine("\n"); - sLog.outDebugInLine("0%X ", read<uint8>(i) ); + sLog->outDebugInLine("0%X ", read<uint8>(i) ); } else { - sLog.outDebugInLine("\n"); + sLog->outDebugInLine("\n"); - sLog.outDebugInLine("%X ", read<uint8>(i) ); + sLog->outDebugInLine("%X ", read<uint8>(i) ); } ++k; @@ -477,15 +477,15 @@ class ByteBuffer { if (read<uint8>(i) < 0x10) { - sLog.outDebugInLine("0%X ", read<uint8>(i) ); + sLog->outDebugInLine("0%X ", read<uint8>(i) ); } else { - sLog.outDebugInLine("%X ", read<uint8>(i) ); + sLog->outDebugInLine("%X ", read<uint8>(i) ); } } } - sLog.outDebugInLine("\n"); + sLog->outDebugInLine("\n"); } protected: |