From aafd1ecf0493f33faf8082cc557ef1094249b82c Mon Sep 17 00:00:00 2001 From: Tim Sylvester Date: Wed, 3 May 2023 11:01:47 -0700 Subject: [PATCH] Drawable Renderer (#1570), remove const --- src/mbgl/gl/drawable_gl_builder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbgl/gl/drawable_gl_builder.cpp b/src/mbgl/gl/drawable_gl_builder.cpp index 0abe4df7d..26514d404 100644 --- a/src/mbgl/gl/drawable_gl_builder.cpp +++ b/src/mbgl/gl/drawable_gl_builder.cpp @@ -34,7 +34,7 @@ void DrawableGLBuilder::init() { std::size_t index = 0; colorAttr->reserve(impl->colors.size()); for (const auto& color : impl->colors) { - const auto x = util::convert(color.toArray()); + auto x = util::convert(color.toArray()); colorAttr->set(index, gfx::VertexAttribute::float4{x[0], x[1], x[2], x[3]}); colorAttr->set(index++, DrawableGL::colorAttrValue(color)); }