From 8f2f4d8d3d377b5c68a39bcfc11fe778e2025ff0 Mon Sep 17 00:00:00 2001 From: Shadow Date: Fri, 14 Mar 2025 14:40:41 +0000 Subject: [PATCH] Issue #2703 - Part 4: Fix incorrect clang warning in nsCORSListenerProxy. See BZ Bug 1444472 Resolves #2703 --- netwerk/protocol/http/nsCORSListenerProxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netwerk/protocol/http/nsCORSListenerProxy.cpp b/netwerk/protocol/http/nsCORSListenerProxy.cpp index 7f0c06d04f..fdb6bb97e5 100644 --- a/netwerk/protocol/http/nsCORSListenerProxy.cpp +++ b/netwerk/protocol/http/nsCORSListenerProxy.cpp @@ -249,7 +249,7 @@ nsPreflightCache::CacheEntry::CheckRequest(const nsCString& aMethod, } } - const struct CheckHeaderToken { + struct CheckHeaderToken { bool Equals(const TokenTime& e, const nsCString& header) const { return e.token.Equals(header, comparator); }