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