Ignore:
Timestamp:
Mar 26, 2008, 5:58:22 PM (17 years ago)
Author:
Adam Roben
Message:

Windows build fix after r31324

Written with Darin.

Added HashTable plumbing to support using wchar_t as a key type.

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

Legend:

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

    r31325 r31335  
    113113    template<> struct DefaultHash<unsigned long long> { typedef IntHash<unsigned long long> Hash; };
    114114
     115#if !COMPILER(MSVC) || defined(_NATIVE_WCHAR_T_DEFINED)
     116    template<> struct DefaultHash<wchar_t> { typedef IntHash<wchar_t> Hash; };
     117#endif
     118
    115119    template<> struct DefaultHash<float> { typedef FloatHash<float> Hash; };
    116120    template<> struct DefaultHash<double> { typedef FloatHash<double> Hash; };
Note: See TracChangeset for help on using the changeset viewer.