summaryrefslogtreecommitdiff
path: root/src/mbgl/gl/attribute.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2019-02-27 13:59:49 +0100
committerKonstantin Käfer <mail@kkaefer.com>2019-02-28 17:01:23 +0100
commit0644bdcbf3ef3a9854cf681b021b1605f285559b (patch)
tree437a6ebb3d158a4ad00b813e95b66fafb749915f /src/mbgl/gl/attribute.hpp
parentbf32f2ed9ecd38de3b62ffa1f284c22b2feb0b0c (diff)
downloadqtlocation-mapboxgl-0644bdcbf3ef3a9854cf681b021b1605f285559b.tar.gz
[core] disallow subtyping of gl::Attributes<> and use type aliases instead
Diffstat (limited to 'src/mbgl/gl/attribute.hpp')
-rw-r--r--src/mbgl/gl/attribute.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/gl/attribute.hpp b/src/mbgl/gl/attribute.hpp
index 9d8947e4e5..c572ef7d47 100644
--- a/src/mbgl/gl/attribute.hpp
+++ b/src/mbgl/gl/attribute.hpp
@@ -214,7 +214,7 @@ void bindAttributeLocation(Context&, ProgramID, AttributeLocation, const char *
std::set<std::string> getActiveAttributes(ProgramID);
template <class... As>
-class Attributes {
+class Attributes final {
public:
using Types = TypeList<As...>;
using Locations = IndexedTuple<