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/fixedsizearray.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/fixedsizearray.hpp')
-rw-r--r-- | yapf/fixedsizearray.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yapf/fixedsizearray.hpp b/yapf/fixedsizearray.hpp index e81b6a258..5d6c3b313 100644 --- a/yapf/fixedsizearray.hpp +++ b/yapf/fixedsizearray.hpp @@ -24,9 +24,9 @@ struct CFixedSizeArrayT { // make types and constants visible from outside typedef Titem_ Titem; // type of array item - ST_CONST(int, Tcapacity = Tcapacity_) // the array capacity (maximum size) - ST_CONST(int, TitemSize = sizeof(Titem_)) // size of item - ST_CONST(int, ThdrSize = sizeof(CHdr)) // size of header + static const int Tcapacity = Tcapacity_; // the array capacity (maximum size) + static const int TitemSize = sizeof(Titem_); // size of item + static const int ThdrSize = sizeof(CHdr); // size of header /** Default constructor. Preallocate space for items and header, then initialize header. */ CFixedSizeArrayT() |