summaryrefslogtreecommitdiff
path: root/xpcom/ds/nsWindowsRegKey.h
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/ds/nsWindowsRegKey.h')
-rw-r--r--xpcom/ds/nsWindowsRegKey.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xpcom/ds/nsWindowsRegKey.h b/xpcom/ds/nsWindowsRegKey.h
index 46bba1b118..1f50637d63 100644
--- a/xpcom/ds/nsWindowsRegKey.h
+++ b/xpcom/ds/nsWindowsRegKey.h
@@ -31,9 +31,9 @@ extern "C" void NS_NewWindowsRegKey(nsIWindowsRegKey** aResult);
{ 0xa53bc624, 0xd577, 0x4839, \
{ 0xb8, 0xec, 0xbb, 0x50, 0x40, 0xa5, 0x2f, 0xf4 } }
-extern MOZ_MUST_USE nsresult nsWindowsRegKeyConstructor(nsISupports* aOuter,
- const nsIID& aIID,
- void** aResult);
+[[nodiscard]] extern nsresult nsWindowsRegKeyConstructor(nsISupports* aOuter,
+ const nsIID& aIID,
+ void** aResult);
#endif // IMPL_LIBXUL