summaryrefslogtreecommitdiff
path: root/yapf/fixedsizearray.hpp
diff options
context:
space:
mode:
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()