Changeset 3811


Ignore:
Timestamp:
Feb 13, 2015, 2:05:12 AM (7 years ago)
Author:
sam
Message:

base: gcc compilation fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lol/base/array.h

    r3807 r3811  
    497497class array : public array_base<tuple<T...>, array<T...>>
    498498{
     499public:
     500    /* GCC needs this but Clang doesn’t */
     501    typedef tuple<T...> element_t;
     502
    499503#if LOL_FEATURE_CXX11_INHERIT_CONSTRUCTORS
     504private:
    500505    using array_base<tuple<T...>, array<T...>>::array_base;
    501506#else
    502507public:
    503     typedef tuple<T...> element_t;
    504 
    505508    inline array()
    506509      : array_base<element_t, array<T...>>::array_base()
Note: See TracChangeset for help on using the changeset viewer.