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
commit8a588f9cf11356943c17eb64d81a98fbd142c5ea (patch)
tree616cc0a9337fc4a58db45e5c6192dbd69dbaa122 /yapf/blob.hpp
parenta0b44e744f66ba26f5a96b13347028308041ace7 (diff)
downloadopenttd-8a588f9cf11356943c17eb64d81a98fbd142c5ea.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);}