diff options
Diffstat (limited to 'src/wasm-type.h')
-rw-r--r-- | src/wasm-type.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wasm-type.h b/src/wasm-type.h index a75466882..6b1608ddc 100644 --- a/src/wasm-type.h +++ b/src/wasm-type.h @@ -474,12 +474,6 @@ struct Tuple { Tuple(const TypeList& types) : types(types) { validate(); } Tuple(TypeList&& types) : types(std::move(types)) { validate(); } - // Allow copies when constructing. - Tuple(const Tuple& other) : types(other.types) { validate(); } - - // Prevent accidental copies. - Tuple& operator=(const Tuple&) = delete; - bool operator==(const Tuple& other) const { return types == other.types; } bool operator!=(const Tuple& other) const { return !(*this == other); } std::string toString() const; |