Ignore:
Timestamp:
Mar 26, 2008, 12:26:26 PM (17 years ago)
Author:
[email protected]
Message:

2008-03-26 Maciej Stachowiak <[email protected]>

Reviewed by Darin.

  • wtf/HashFunctions.h: (WTF::):
  • wtf/HashTraits.h: (WTF::):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/HashTraits.h

    r29293 r31325  
    9494        static signed char deletedValue() { return -1; }
    9595    };
    96     template<> struct HashTraits<short> : GenericHashTraits<int> {
     96    template<> struct HashTraits<short> : GenericHashTraits<short> {
    9797        static short deletedValue() { return -1; }
     98    };
     99    template<> struct HashTraits<unsigned short> : GenericHashTraits<unsigned short> {
     100        static short deletedValue() { return static_cast<unsigned short>(-1); }
    98101    };
    99102    template<> struct HashTraits<int> : GenericHashTraits<int> {
Note: See TracChangeset for help on using the changeset viewer.