Changeset 51905 in webkit for trunk/JavaScriptCore/wtf/Vector.h


Ignore:
Timestamp:
Dec 9, 2009, 10:40:17 AM (15 years ago)
Author:
[email protected]
Message:

Fix some things found while trying to compile JavaScriptCore with clang++.

Reviewed by Sam Weinig.

  • wtf/FastMalloc.h:

Add correct exception specifications for the allocation/deallocation operators.

  • wtf/Vector.h:
  • wtf/VectorTraits.h:

Fix a bunch of struct/class mismatches.

File:
1 edited

Legend:

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

    r48701 r51905  
    7272
    7373    template <bool needsDestruction, typename T>
    74     class VectorDestructor;
     74    struct VectorDestructor;
    7575
    7676    template<typename T>
     
    9191
    9292    template <bool needsInitialization, bool canInitializeWithMemset, typename T>
    93     class VectorInitializer;
     93    struct VectorInitializer;
    9494
    9595    template<bool ignore, typename T>
     
    119119
    120120    template <bool canMoveWithMemcpy, typename T>
    121     class VectorMover;
     121    struct VectorMover;
    122122
    123123    template<typename T>
     
    163163
    164164    template <bool canCopyWithMemcpy, typename T>
    165     class VectorCopier;
     165    struct VectorCopier;
    166166
    167167    template<typename T>
     
    188188
    189189    template <bool canFillWithMemset, typename T>
    190     class VectorFiller;
     190    struct VectorFiller;
    191191
    192192    template<typename T>
     
    213213   
    214214    template<bool canCompareWithMemcmp, typename T>
    215     class VectorComparer;
     215    struct VectorComparer;
    216216   
    217217    template<typename T>
Note: See TracChangeset for help on using the changeset viewer.