summaryrefslogtreecommitdiff
path: root/xpcom/ds/nsPersistentProperties.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/ds/nsPersistentProperties.h')
-rw-r--r--xpcom/ds/nsPersistentProperties.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpcom/ds/nsPersistentProperties.h b/xpcom/ds/nsPersistentProperties.h
index 3f52bf8470..f598541a09 100644
--- a/xpcom/ds/nsPersistentProperties.h
+++ b/xpcom/ds/nsPersistentProperties.h
@@ -24,7 +24,7 @@ public:
NS_DECL_NSIPROPERTIES
NS_DECL_NSIPERSISTENTPROPERTIES
- static MOZ_MUST_USE nsresult
+ [[nodiscard]] static nsresult
Create(nsISupports* aOuter, REFNSIID aIID, void** aResult);
private: