Changeset 32650 in webkit for trunk/JavaScriptCore/wtf/HashFunctions.h
- Timestamp:
- Apr 28, 2008, 10:18:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/HashFunctions.h
r32611 r32650 118 118 }; 119 119 template<typename P> struct PtrHash<RefPtr<P> > : PtrHash<P*> { 120 static unsigned hash(const RefPtr<P>& key) { return PtrHash<P*>::hash(key.get()); } 120 using PtrHash<P*>::hash; 121 static unsigned hash(const RefPtr<P>& key) { return hash(key.get()); } 122 using PtrHash<P*>::equal; 121 123 static bool equal(const RefPtr<P>& a, const RefPtr<P>& b) { return a == b; } 122 124 static bool equal(P* a, const RefPtr<P>& b) { return a == b; }
Note:
See TracChangeset
for help on using the changeset viewer.