Issue #2703 - Part 4: Fix incorrect clang warning in nsCORSListenerProxy.

See BZ Bug 1444472
Resolves #2703
This commit is contained in:
Shadow 2025-03-14 14:40:41 +00:00 committed by roytam1
commit 8f2f4d8d3d

View file

@ -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);
}