diff options
Diffstat (limited to 'yapf/blob.hpp')
-rw-r--r-- | yapf/blob.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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);} |