summaryrefslogtreecommitdiff
path: root/xpcom/glue/nsInterfaceHashtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/glue/nsInterfaceHashtable.h')
-rw-r--r--xpcom/glue/nsInterfaceHashtable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xpcom/glue/nsInterfaceHashtable.h b/xpcom/glue/nsInterfaceHashtable.h
index cdd36924ec..44dc309783 100644
--- a/xpcom/glue/nsInterfaceHashtable.h
+++ b/xpcom/glue/nsInterfaceHashtable.h
@@ -64,8 +64,8 @@ public:
}
}
- MOZ_MUST_USE bool Put(KeyType aKey, already_AddRefed<Interface>&& aData,
- const mozilla::fallible_t&);
+ [[nodiscard]] bool Put(KeyType aKey, already_AddRefed<Interface>&& aData,
+ const mozilla::fallible_t&);
using base_type::Put;
};