From ecccf79c075ea94433bc277c56e77baee73a3cf7 Mon Sep 17 00:00:00 2001 From: KUDr Date: Tue, 14 Nov 2006 12:02:36 +0000 Subject: (svn r7146) -CodeChange: ST_CONST macro removed as it is no longer needed (Tron) --- yapf/blob.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yapf/blob.hpp') diff --git a/yapf/blob.hpp b/yapf/blob.hpp index 53e7e1ff5..41d22315f 100644 --- a/yapf/blob.hpp +++ b/yapf/blob.hpp @@ -32,7 +32,7 @@ protected: } ptr_u; public: - ST_CONST(int, Ttail_reserve = 4) // four extra bytes will be always allocated and zeroed at the end + static const int Ttail_reserve = 4; // four extra bytes will be always allocated and zeroed at the end FORCEINLINE CBlobBaseSimple() { InitEmpty(); } FORCEINLINE CBlobBaseSimple(const CBlobBaseSimple& src) @@ -169,7 +169,7 @@ public: typedef Titem_ Titem; typedef Tbase_ Tbase; - ST_CONST(int, Titem_size = sizeof(Titem)) + static const int Titem_size = sizeof(Titem); FORCEINLINE CBlobT() : Tbase() {} FORCEINLINE CBlobT(const Tbase& src) : Tbase(src) {assert((RawSize() % Titem_size) == 0);} -- cgit v1.2.3-70-g09d2