summaryrefslogtreecommitdiff
path: root/js/src/wasm/WasmTypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/wasm/WasmTypes.h')
-rw-r--r--js/src/wasm/WasmTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/wasm/WasmTypes.h b/js/src/wasm/WasmTypes.h
index 57c737e454..26112ed137 100644
--- a/js/src/wasm/WasmTypes.h
+++ b/js/src/wasm/WasmTypes.h
@@ -316,7 +316,7 @@ class Sig
Sig() : args_(), ret_(ExprType::Void) {}
Sig(ValTypeVector&& args, ExprType ret) : args_(Move(args)), ret_(ret) {}
- MOZ_MUST_USE bool clone(const Sig& rhs) {
+ [[nodiscard]] bool clone(const Sig& rhs) {
ret_ = rhs.ret_;
MOZ_ASSERT(args_.empty());
return args_.appendAll(rhs.args_);