Changeset 49011 in webkit


Ignore:
Timestamp:
Oct 2, 2009 12:41:49 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-10-02 Dave MacLachlan <dmaclach@gmail.com>

Reviewed by David Levin.

Clean up warnings in WebCore/bindings/v8/npruntime.cpp
https://bugs.webkit.org/show_bug.cgi?id=29971

Gets rid of warnings on gcc about using anonymous namespaces

warning: 'StringKeyHashTraits' has a base
'WTF::GenericHashTraits<<unnamed>::StringKey>'
whose type uses the anonymous namespace

and

warning: 'WTF::PairHashTraits<StringKeyHashTraits,
WTF::HashTraits<PrivateIdentifier*> >' has a base
'WTF::GenericHashTraits<std::pair<<unnamed>::StringKey,
PrivateIdentifier*> >' whose type uses the anonymous namespace

No tests required.

  • bindings/v8/npruntime.cpp:
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r49008 r49011  
     12009-10-02  Dave MacLachlan  <dmaclach@gmail.com>
     2
     3        Reviewed by David Levin.
     4
     5        Clean up warnings in WebCore/bindings/v8/npruntime.cpp
     6        https://bugs.webkit.org/show_bug.cgi?id=29971
     7
     8        Gets rid of warnings on gcc about using anonymous namespaces
     9          warning: 'StringKeyHashTraits' has a base
     10          'WTF::GenericHashTraits<<unnamed>::StringKey>'
     11          whose type uses the anonymous namespace
     12        and
     13          warning: 'WTF::PairHashTraits<StringKeyHashTraits,
     14          WTF::HashTraits<PrivateIdentifier*> >' has a base
     15          'WTF::GenericHashTraits<std::pair<<unnamed>::StringKey,
     16          PrivateIdentifier*> >' whose type uses the anonymous namespace
     17
     18        No tests required.
     19
     20        * bindings/v8/npruntime.cpp:
     21
    1222009-10-01  Mark Rowe  <mrowe@apple.com>
    223
  • trunk/WebCore/bindings/v8/npruntime.cpp

    r47021 r49011  
    4040// static initialization in general.
    4141
    42 namespace {
     42namespace npruntime {
    4343
    4444// We use StringKey here as the key-type to avoid a string copy to
     
    113113};
    114114
    115 }  // namespace
     115}  // namespace npruntime
     116
     117using npruntime::StringKey;
     118using npruntime::StringKeyHash;
    116119
    117120// Implement HashTraits<StringKey>
Note: See TracChangeset for help on using the changeset viewer.