From 5e9bbfdd44ef9c0a2c5850566c28a40aa2a05151 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Fri, 1 Jun 2018 11:49:15 +0200 Subject: [PATCH] [core] introduce TypeListConcat and TypeList::ExpandInto --- include/mbgl/util/type_list.hpp | 28 +++++++++++++++++-- src/mbgl/gl/attribute.hpp | 18 ++---------- src/mbgl/gl/uniform.hpp | 19 ++----------- src/mbgl/programs/symbol_program.hpp | 4 +-- .../renderer/layers/render_line_layer.hpp | 4 +-- src/mbgl/style/properties.hpp | 9 ++---- 6 files changed, 36 insertions(+), 46 deletions(-) diff --git a/include/mbgl/util/type_list.hpp b/include/mbgl/util/type_list.hpp index 4a5e95c8a..1b594bf7f 100644 --- a/include/mbgl/util/type_list.hpp +++ b/include/mbgl/util/type_list.hpp @@ -5,8 +5,11 @@ namespace mbgl { -template -class TypeList {}; +template +struct TypeList { + template