diff options
Diffstat (limited to 'xpcom/glue/nsBaseHashtable.h')
-rw-r--r-- | xpcom/glue/nsBaseHashtable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xpcom/glue/nsBaseHashtable.h b/xpcom/glue/nsBaseHashtable.h index 4dbb58805a..00de479b66 100644 --- a/xpcom/glue/nsBaseHashtable.h +++ b/xpcom/glue/nsBaseHashtable.h @@ -144,8 +144,8 @@ public: } } - MOZ_MUST_USE bool Put(KeyType aKey, const UserDataType& aData, - const fallible_t&) + [[nodiscard]] bool Put(KeyType aKey, const UserDataType& aData, + const fallible_t&) { EntryType* ent = this->PutEntry(aKey, mozilla::fallible); if (!ent) { |