From fb430a9f2272ca9d5d7edb139f82af1a61118a22 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 13 Feb 2015 01:05:12 +0000 Subject: [PATCH] base: gcc compilation fix. --- src/lol/base/array.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lol/base/array.h b/src/lol/base/array.h index 11194427..df3a4ae3 100644 --- a/src/lol/base/array.h +++ b/src/lol/base/array.h @@ -496,12 +496,15 @@ protected: template class array : public array_base, array> { +public: + /* GCC needs this but Clang doesn’t */ + typedef tuple element_t; + #if LOL_FEATURE_CXX11_INHERIT_CONSTRUCTORS +private: using array_base, array>::array_base; #else public: - typedef tuple element_t; - inline array() : array_base>::array_base() {}