summaryrefslogtreecommitdiff
path: root/ipc/mscom/COMPtrHolder.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/mscom/COMPtrHolder.h')
-rw-r--r--ipc/mscom/COMPtrHolder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/mscom/COMPtrHolder.h b/ipc/mscom/COMPtrHolder.h
index 311e761532..febe10f461 100644
--- a/ipc/mscom/COMPtrHolder.h
+++ b/ipc/mscom/COMPtrHolder.h
@@ -37,7 +37,7 @@ public:
return mPtr.get();
}
- MOZ_MUST_USE Interface* Release()
+ [[nodiscard]] Interface* Release()
{
return mPtr.release();
}