summaryrefslogtreecommitdiff
path: root/src/wasm-type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-type.h')
-rw-r--r--src/wasm-type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm-type.h b/src/wasm-type.h
index dbf99d512..fa365b0e5 100644
--- a/src/wasm-type.h
+++ b/src/wasm-type.h
@@ -460,7 +460,7 @@ public:
HeapType operator[](size_t i) const { return *Iterator{{this, i}}; }
};
-typedef std::vector<Type> TypeList;
+using TypeList = std::vector<Type>;
// Passed by reference rather than by value because it can own an unbounded
// amount of data.
@@ -531,7 +531,7 @@ struct Field {
unsigned getByteSize() const;
};
-typedef std::vector<Field> FieldList;
+using FieldList = std::vector<Field>;
// Passed by reference rather than by value because it can own an unbounded
// amount of data.