Changeset 173271 in webkit
- Timestamp:
- Sep 4, 2014 12:54:54 PM (10 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r173268 r173271 1 2014-09-04 Anders Carlsson <andersca@apple.com> 2 3 Make hash table classes final 4 https://bugs.webkit.org/show_bug.cgi?id=136540 5 6 Reviewed by Antti Koivisto. 7 8 We don't want anybody inheriting from these classes, so make them final. 9 10 * wtf/HashCountedSet.h: 11 * wtf/HashMap.h: 12 * wtf/HashSet.h: 13 1 14 2014-09-04 Eva Balazsfalvi <evab.u-szeged@partner.samsung.com> 2 15 -
trunk/Source/WTF/wtf/HashCountedSet.h
r157077 r173271 29 29 30 30 template<typename Value, typename HashFunctions = typename DefaultHash<Value>::Hash, typename Traits = HashTraits<Value>> 31 class HashCountedSet {31 class HashCountedSet final { 32 32 WTF_MAKE_FAST_ALLOCATED; 33 33 private: -
trunk/Source/WTF/wtf/HashMap.h
r171049 r173271 34 34 template<typename KeyArg, typename MappedArg, typename HashArg = typename DefaultHash<KeyArg>::Hash, 35 35 typename KeyTraitsArg = HashTraits<KeyArg>, typename MappedTraitsArg = HashTraits<MappedArg>> 36 class HashMap {36 class HashMap final { 37 37 WTF_MAKE_FAST_ALLOCATED; 38 38 private: -
trunk/Source/WTF/wtf/HashSet.h
r170774 r173271 33 33 34 34 template<typename ValueArg, typename HashArg = typename DefaultHash<ValueArg>::Hash, 35 typename TraitsArg = HashTraits<ValueArg>> class HashSet {35 typename TraitsArg = HashTraits<ValueArg>> class HashSet final { 36 36 WTF_MAKE_FAST_ALLOCATED; 37 37 private:
Note: See TracChangeset
for help on using the changeset viewer.