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