diff options
Diffstat (limited to 'src/mbgl/gfx/attribute.hpp')
-rw-r--r-- | src/mbgl/gfx/attribute.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/gfx/attribute.hpp b/src/mbgl/gfx/attribute.hpp index 4f44d68d7b..f5188ccfdb 100644 --- a/src/mbgl/gfx/attribute.hpp +++ b/src/mbgl/gfx/attribute.hpp @@ -14,7 +14,7 @@ #define MBGL_DEFINE_ATTRIBUTE(type_, n_, name_) \ struct name_ { \ using Type = ::mbgl::gfx::AttributeType<type_, n_>; \ - static auto name() { \ + static constexpr auto name() { \ return #name_; \ } \ } |