summaryrefslogtreecommitdiff
path: root/yapf/array.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/array.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/array.hpp')
-rw-r--r--yapf/array.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/yapf/array.hpp b/yapf/array.hpp
index 04fbe0983..d6fe2a75f 100644
--- a/yapf/array.hpp
+++ b/yapf/array.hpp
@@ -18,9 +18,9 @@ protected:
CSuperArray m_a; ///< array of arrays of items
public:
- ST_CONST(int, Tblock_size = Tblock_size_) ///< block size is now visible from outside
- ST_CONST(int, Tnum_blocks = Tnum_blocks_) ///< number of blocks is now visible from outside
- ST_CONST(int, Tcapacity = Tblock_size * Tnum_blocks) ///< total max number of items
+ static const int Tblock_size = Tblock_size_; ///< block size is now visible from outside
+ static const int Tnum_blocks = Tnum_blocks_; ///< number of blocks is now visible from outside
+ static const int Tcapacity = Tblock_size * Tnum_blocks; ///< total max number of items
/** implicit constructor */
FORCEINLINE CArrayT() { }