Ignore:
Timestamp:
May 10, 2016, 12:12:41 AM (3 years ago)
Author:
nmedfort
Message:

UnicodeSet? bug fix and compile warning clean-up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pabloAST.h

    r5023 r5037  
    3939
    4040    using Allocator = SlabAllocator<u_int8_t>;
    41     using VectorAllocator = Allocator::rebind<PabloAST *>::other;
     41    using VectorAllocator = SlabAllocator<PabloAST *>;
    4242    using Users = std::vector<PabloAST *, VectorAllocator>;
    4343    using user_iterator = Users::iterator;
     
    125125    inline PabloAST(const ClassTypeId id)
    126126    : mClassTypeId(id)
    127     , mUsers(reinterpret_cast<VectorAllocator &>(mAllocator))
     127    , mUsers(mVectorAllocator)
    128128    {
    129129
     
    135135    }
    136136    static Allocator        mAllocator;
     137    static VectorAllocator  mVectorAllocator;
    137138private:
    138139    const ClassTypeId       mClassTypeId;
Note: See TracChangeset for help on using the changeset viewer.