소스 검색

base: gcc compilation fix.

undefined
Sam Hocevar 10 년 전
부모
커밋
fb430a9f22
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. +5
    -2
      src/lol/base/array.h

+ 5
- 2
src/lol/base/array.h 파일 보기

@@ -496,12 +496,15 @@ protected:
template<typename... T>
class array : public array_base<tuple<T...>, array<T...>>
{
public:
/* GCC needs this but Clang doesn’t */
typedef tuple<T...> element_t;

#if LOL_FEATURE_CXX11_INHERIT_CONSTRUCTORS
private:
using array_base<tuple<T...>, array<T...>>::array_base;
#else
public:
typedef tuple<T...> element_t;

inline array()
: array_base<element_t, array<T...>>::array_base()
{}


불러오는 중...
취소
저장