diff options
Diffstat (limited to 'src/mbgl/gl/attribute.hpp')
-rw-r--r-- | src/mbgl/gl/attribute.hpp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/mbgl/gl/attribute.hpp b/src/mbgl/gl/attribute.hpp index de95be0733..8cdb03bfe7 100644 --- a/src/mbgl/gl/attribute.hpp +++ b/src/mbgl/gl/attribute.hpp @@ -294,22 +294,8 @@ public: } }; -namespace detail { - -template <class...> -struct ConcatenateAttributes; - -template <class... As, class... Bs> -struct ConcatenateAttributes<TypeList<As...>, TypeList<Bs...>> { - using Type = Attributes<As..., Bs...>; -}; - -} // namespace detail - -template <class A, class B> -using ConcatenateAttributes = typename detail::ConcatenateAttributes< - typename A::Types, - typename B::Types>::Type; +template <class... As> +using ConcatenateAttributes = typename TypeListConcat<typename As::Types...>::template ExpandInto<Attributes>; } // namespace gl } // namespace mbgl |