Ignore:
Timestamp:
Jul 16, 2010, 1:47:46 PM (15 years ago)
Author:
[email protected]
Message:

clang++ build fixes for JavaScriptCore and WebCore
https://bugs.webkit.org/show_bug.cgi?id=42478

Reviewed by Sam Weinig.

JavaScriptCore:

  • runtime/RegExpKey.h:

(JSC::operator==):
Move the RegExpKey equals operator into the JSC namespace so it can be found by ADL.

WebCore:

  • platform/network/Credential.cpp:

(WebCore::Credential::type):

  • platform/network/Credential.h:

Remove const qualifier on Credential::type since it doesn't have an effect on the type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/RegExpKey.h

    r61623 r63578  
    7777    }
    7878};
    79 } // namespace JSC
    8079
    81 namespace WTF {
    82 template<typename T> struct DefaultHash;
    83 template<typename T> struct RegExpHash;
    84 
    85 inline bool operator==(const JSC::RegExpKey& a, const JSC::RegExpKey& b)
     80inline bool operator==(const RegExpKey& a, const RegExpKey& b)
    8681{
    8782    if (a.flagsValue != b.flagsValue)
     
    9388    return equal(a.pattern.get(), b.pattern.get());
    9489}
     90
     91} // namespace JSC
     92
     93namespace WTF {
     94template<typename T> struct DefaultHash;
     95template<typename T> struct RegExpHash;
    9596
    9697template<> struct RegExpHash<JSC::RegExpKey> {
Note: See TracChangeset for help on using the changeset viewer.