diff options
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h index 630e5b003..4747b48a3 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -1722,12 +1722,12 @@ class ElementSegment : public Named { public: Name table; Expression* offset; - std::vector<Name> data; + std::vector<Expression*> data; ElementSegment() = default; ElementSegment(Name table, Expression* offset) : table(table), offset(offset) {} - ElementSegment(Name table, Expression* offset, std::vector<Name>& init) + ElementSegment(Name table, Expression* offset, std::vector<Expression*>& init) : table(table), offset(offset) { data.swap(init); } |