From 3a48c60813b18c092c8d8d75c80a318bdd8859bb Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 31 Aug 2016 17:13:16 -0700 Subject: [core] Add missing classed paint property getter --- include/mbgl/style/layers/layer.hpp.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mbgl/style/layers/layer.hpp.ejs') diff --git a/include/mbgl/style/layers/layer.hpp.ejs b/include/mbgl/style/layers/layer.hpp.ejs index 9d542b75b6..15d0fcee61 100644 --- a/include/mbgl/style/layers/layer.hpp.ejs +++ b/include/mbgl/style/layers/layer.hpp.ejs @@ -55,7 +55,7 @@ public: <% for (const property of paintProperties) { -%> static PropertyValue<<%- propertyType(property) %>> getDefault<%- camelize(property.name) %>(); - PropertyValue<<%- propertyType(property) %>> get<%- camelize(property.name) %>() const; + PropertyValue<<%- propertyType(property) %>> get<%- camelize(property.name) %>(const optional& klass = {}) const; void set<%- camelize(property.name) %>(PropertyValue<<%- propertyType(property) %>>, const optional& klass = {}); <% } -%> -- cgit v1.2.1