summaryrefslogtreecommitdiff
path: root/js/src/ds/SplayTree.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/ds/SplayTree.h')
-rw-r--r--js/src/ds/SplayTree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/ds/SplayTree.h b/js/src/ds/SplayTree.h
index af2c48075a..7aa87637d1 100644
--- a/js/src/ds/SplayTree.h
+++ b/js/src/ds/SplayTree.h
@@ -89,7 +89,7 @@ class SplayTree
return false;
}
- MOZ_MUST_USE bool insert(const T& v)
+ [[nodiscard]] bool insert(const T& v)
{
Node* element = allocateNode(v);
if (!element)