commit 19aaabb1f8c1c5410202b6566dcbc1c58711f096
parent af28e09fe8cff67fcf8298d81295b3626ce9c3a9
Author: Chris Peterson <cpeterson@mozilla.com>
Date: Tue, 9 Dec 2025 00:01:30 +0000
Bug 2002864 - Replace MOZ_CONSTINIT with C++20 constinit in nsExceptionHandler.cpp. r=xpcom-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D274506
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/toolkit/crashreporter/nsExceptionHandler.cpp b/toolkit/crashreporter/nsExceptionHandler.cpp
@@ -224,7 +224,7 @@ static CrashHelperClient* gCrashHelperClient
MOZ_GUARDED_BY(gCrashHelperClientMutex) = nullptr;
static google_breakpad::ExceptionHandler* gExceptionHandler = nullptr;
static mozilla::Atomic<bool> gEncounteredChildException(false);
-MOZ_CONSTINIT static nsCString gServerURL;
+constinit static nsCString gServerURL;
MOZ_RUNINIT static xpstring pendingDirectory;
MOZ_RUNINIT static xpstring crashReporterPath;