diff options
author | KUDr <KUDr@openttd.org> | 2006-11-14 12:02:36 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2006-11-14 12:02:36 +0000 |
commit | 8a588f9cf11356943c17eb64d81a98fbd142c5ea (patch) | |
tree | 616cc0a9337fc4a58db45e5c6192dbd69dbaa122 /yapf/array.hpp | |
parent | a0b44e744f66ba26f5a96b13347028308041ace7 (diff) | |
download | openttd-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.hpp | 6 |
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() { } |