Commit bc93d04e authored by David Renshaw's avatar David Renshaw

Fix order of field initializers in ListBuilder.

parent 8c01fe73
...@@ -657,8 +657,8 @@ class ListBuilder: public kj::DisallowConstCopy { ...@@ -657,8 +657,8 @@ class ListBuilder: public kj::DisallowConstCopy {
public: public:
inline explicit ListBuilder(ElementSize elementSize) inline explicit ListBuilder(ElementSize elementSize)
: segment(nullptr), capTable(nullptr), ptr(nullptr), elementCount(0 * ELEMENTS), : segment(nullptr), capTable(nullptr), ptr(nullptr), elementCount(0 * ELEMENTS),
step(0 * BITS / ELEMENTS), elementSize(elementSize), structDataSize(0 * BITS), step(0 * BITS / ELEMENTS), structDataSize(0 * BITS), structPointerCount(0 * POINTERS),
structPointerCount(0 * POINTERS) {} elementSize(elementSize) {}
inline word* getLocation() { inline word* getLocation() {
// Get the object's location. // Get the object's location.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment