[core] disallow subtyping of gl::Attributes<> and use type aliases instead

This commit is contained in:
Konstantin Käfer
2019-02-27 13:59:49 +01:00
parent 55c7b86053
commit cd06b550dd
10 changed files with 79 additions and 82 deletions

View File

@@ -159,8 +159,6 @@ struct a_pattern_from {
} // namespace attributes
struct PositionOnlyLayoutAttributes : gl::Attributes<
attributes::a_pos>
{};
using PositionOnlyLayoutAttributes = gl::Attributes<attributes::a_pos>;
} // namespace mbgl