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 {}