diff options
Diffstat (limited to 'src/wasm-type.h')
-rw-r--r-- | src/wasm-type.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wasm-type.h b/src/wasm-type.h index 2362a95aa..fc2a3b290 100644 --- a/src/wasm-type.h +++ b/src/wasm-type.h @@ -559,9 +559,11 @@ struct TypeBuilder { ~TypeBuilder(); TypeBuilder(TypeBuilder& other) = delete; - TypeBuilder(TypeBuilder&& other) = delete; TypeBuilder& operator=(TypeBuilder&) = delete; + TypeBuilder(TypeBuilder&& other); + TypeBuilder& operator=(TypeBuilder&& other); + // Append `n` new uninitialized HeapType slots to the end of the TypeBuilder. void grow(size_t n); |