summaryrefslogtreecommitdiff
path: root/js/src/vm/Xdr.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/vm/Xdr.h')
-rw-r--r--js/src/vm/Xdr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/vm/Xdr.h b/js/src/vm/Xdr.h
index 419b0dc86b..e21448e1e2 100644
--- a/js/src/vm/Xdr.h
+++ b/js/src/vm/Xdr.h
@@ -426,14 +426,14 @@ class XDRIncrementalEncoder : public XDREncoder
AutoXDRTree::Key getTopLevelTreeKey() const override;
AutoXDRTree::Key getTreeKey(JSFunction* fun) const override;
- MOZ_MUST_USE bool init();
+ [[nodiscard]] bool init();
void createOrReplaceSubTree(AutoXDRTree* child) override;
void endSubTree() override;
// Append the content collected during the incremental encoding into the
// buffer given as argument.
- MOZ_MUST_USE bool linearize(JS::TranscodeBuffer& buffer);
+ [[nodiscard]] bool linearize(JS::TranscodeBuffer& buffer);
};
} /* namespace js */