summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layers/custom_layer.cpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-12-02 16:09:06 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-12-03 14:20:17 +0200
commit684000fc263ac6c4064e80505bd1a2f6c15fb0fa (patch)
tree42fff5e7f7016f3e1716a727af7241c9494a1345 /src/mbgl/style/layers/custom_layer.cpp
parent1ad1358c8e2f4f37bc8ec076db5770bd647452fd (diff)
downloadqtlocation-mapboxgl-684000fc263ac6c4064e80505bd1a2f6c15fb0fa.tar.gz
[core] Merge style::Layer::set{Layout,Paint}Property
Diffstat (limited to 'src/mbgl/style/layers/custom_layer.cpp')
-rw-r--r--src/mbgl/style/layers/custom_layer.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mbgl/style/layers/custom_layer.cpp b/src/mbgl/style/layers/custom_layer.cpp
index e13cf0069a..30bb2d220e 100644
--- a/src/mbgl/style/layers/custom_layer.cpp
+++ b/src/mbgl/style/layers/custom_layer.cpp
@@ -39,11 +39,7 @@ std::unique_ptr<Layer> CustomLayer::cloneRef(const std::string&) const {
using namespace conversion;
-optional<Error> CustomLayer::setPaintProperty(const std::string&, const Convertible&) {
- return Error { "layer doesn't support this property" };
-}
-
-optional<Error> CustomLayer::setLayoutProperty(const std::string&, const Convertible&) {
+optional<Error> CustomLayer::setProperty(const std::string&, const Convertible&) {
return Error { "layer doesn't support this property" };
}