summaryrefslogtreecommitdiff
path: root/src/wasm-s-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-s-parser.h')
-rw-r--r--src/wasm-s-parser.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/wasm-s-parser.h b/src/wasm-s-parser.h
index a14809469..09c30ce92 100644
--- a/src/wasm-s-parser.h
+++ b/src/wasm-s-parser.h
@@ -32,10 +32,8 @@ class Element {
typedef std::vector<Element*> List;
bool isList_;
- union {
- List list_;
- IString str_;
- };
+ List list_;
+ IString str_;
public:
Element() : isList_(true) {}