(svn r7162) -CodeChange: disabled compilation of unused code (Darkvater)

This commit is contained in:
KUDr
2006-11-15 23:47:52 +00:00
parent 41733bacb0
commit e18c9f384d
2 changed files with 4 additions and 0 deletions

View File

@@ -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); }