summaryrefslogtreecommitdiff
path: root/xpcom/ds/nsISupportsArray.idl
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/ds/nsISupportsArray.idl')
-rw-r--r--xpcom/ds/nsISupportsArray.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpcom/ds/nsISupportsArray.idl b/xpcom/ds/nsISupportsArray.idl
index 30e2a50352..262e6160d3 100644
--- a/xpcom/ds/nsISupportsArray.idl
+++ b/xpcom/ds/nsISupportsArray.idl
@@ -54,7 +54,7 @@ interface nsISupportsArray : nsICollection {
%{C++
// Construct and return a default implementation of nsISupportsArray:
-extern MOZ_MUST_USE nsresult
+[[nodiscard]] extern nsresult
NS_NewISupportsArray(nsISupportsArray** aInstancePtrResult);
%}