diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-08-31 17:13:16 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-09-06 12:52:14 -0700 |
commit | 3a48c60813b18c092c8d8d75c80a318bdd8859bb (patch) | |
tree | 46b12d272e40b3780bd39c9fc7c1c0ed1ed6d70f /include/mbgl/style/layers/layer.hpp.ejs | |
parent | 3635b9f1476ffd5d8f38a7abdf5742faef012850 (diff) | |
download | qtlocation-mapboxgl-3a48c60813b18c092c8d8d75c80a318bdd8859bb.tar.gz |
[core] Add missing classed paint property getter
Diffstat (limited to 'include/mbgl/style/layers/layer.hpp.ejs')
-rw-r--r-- | include/mbgl/style/layers/layer.hpp.ejs | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string>& klass = {}) const; void set<%- camelize(property.name) %>(PropertyValue<<%- propertyType(property) %>>, const optional<std::string>& klass = {}); <% } -%> |