Ignore:
Timestamp:
May 26, 2009, 3:25:56 PM (16 years ago)
Author:
[email protected]
Message:

2009-05-26 Zoltan Horvath <[email protected]>

Reviewed by Maciej Stachowiak.

Inherite HashTable from FastAllocBase, because it has been instantiated by
'new' in JavaScriptCore/runtime/JSGlobalData.cpp.

  • wtf/HashTable.h:
  • wtf/FastAllocBase.h: Remove 'wtf' path from TypeTraits.h to allow use outside of wtf.
File:
1 edited

Legend:

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

    r38859 r44161  
    2424
    2525#include "FastMalloc.h"
     26#include "FastAllocBase.h"
    2627#include "HashTraits.h"
    2728#include <wtf/Assertions.h>
     
    281282
    282283    template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
    283     class HashTable {
     284    class HashTable : public FastAllocBase {
    284285    public:
    285286        typedef HashTableIterator<Key, Value, Extractor, HashFunctions, Traits, KeyTraits> iterator;
Note: See TracChangeset for help on using the changeset viewer.