From 336e0a177514b515fa6027723b822df6412e95a2 Mon Sep 17 00:00:00 2001 From: KUDr Date: Wed, 15 Nov 2006 23:47:52 +0000 Subject: (svn r7162) -CodeChange: disabled compilation of unused code (Darkvater) --- yapf/blob.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'yapf/blob.hpp') diff --git a/yapf/blob.hpp b/yapf/blob.hpp index 41d22315f..f05e6a77d 100644 --- a/yapf/blob.hpp +++ b/yapf/blob.hpp @@ -54,7 +54,9 @@ public: FORCEINLINE int MaxRawSize() const { return Hdr().m_max_size; }; FORCEINLINE int8* RawData() { return ptr_u.m_pData; } FORCEINLINE const int8* RawData() const { return ptr_u.m_pData; } +#if 0 // reenable when needed FORCEINLINE uint32 Crc32() const {return CCrc32::Calc(RawData(), RawSize());} +#endif //0 FORCEINLINE void Clear() { RawSizeRef() = 0; } FORCEINLINE void Free() { if (MaxRawSize() > 0) {RawFree(&Hdr()); InitEmpty();} } FORCEINLINE void CopyFrom(const CBlobBaseSimple& src) { Clear(); AppendRaw(src); } -- cgit v1.2.3-70-g09d2