From aa7429ee1db096752c190157939c13fc162ca6af Mon Sep 17 00:00:00 2001 From: Paul Bone Date: Fri, 16 May 2025 06:44:20 +0000 Subject: [PATCH] Bug 1966573 - Make RefPtr::RefPtr() constexpr r=glandium Differential Revision: https://phabricator.services.mozilla.com/D249705 --- mfbt/RefPtr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mfbt/RefPtr.h b/mfbt/RefPtr.h index a3012cba1f1f..80257d8bd640 100644 --- a/mfbt/RefPtr.h +++ b/mfbt/RefPtr.h @@ -83,7 +83,7 @@ class MOZ_IS_REFPTR RefPtr { // Constructors - RefPtr() + constexpr RefPtr() : mRawPtr(nullptr) // default constructor {}