summaryrefslogtreecommitdiff
path: root/yapf/blob.hpp
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2006-11-14 12:02:36 +0000
committerKUDr <kudr@openttd.org>2006-11-14 12:02:36 +0000
commitecccf79c075ea94433bc277c56e77baee73a3cf7 (patch)
tree616cc0a9337fc4a58db45e5c6192dbd69dbaa122 /yapf/blob.hpp
parent55d6c98f891f219c3118baa5fef6ea05ebe79800 (diff)
downloadopenttd-ecccf79c075ea94433bc277c56e77baee73a3cf7.tar.xz
(svn r7146) -CodeChange: ST_CONST macro removed as it is no longer needed (Tron)
Diffstat (limited to 'yapf/blob.hpp')
-rw-r--r--yapf/blob.hpp4
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);}