summaryrefslogtreecommitdiff
path: root/yapf/fixedsizearray.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/fixedsizearray.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/fixedsizearray.hpp')
-rw-r--r--yapf/fixedsizearray.hpp6
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()