diff options
Diffstat (limited to 'xpcom/glue/nsDeque.h')
-rw-r--r-- | xpcom/glue/nsDeque.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xpcom/glue/nsDeque.h b/xpcom/glue/nsDeque.h index 723c021228..9e98b09bbb 100644 --- a/xpcom/glue/nsDeque.h +++ b/xpcom/glue/nsDeque.h @@ -87,7 +87,7 @@ public: } } - MOZ_MUST_USE bool Push(void* aItem, const fallible_t&); + [[nodiscard]] bool Push(void* aItem, const fallible_t&); /** * Inserts new member at the front of the deque. @@ -101,7 +101,7 @@ public: } } - MOZ_MUST_USE bool PushFront(void* aItem, const fallible_t&); + [[nodiscard]] bool PushFront(void* aItem, const fallible_t&); /** * Remove and return the last item in the container. |