diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2018-10-29 14:29:16 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2018-10-31 11:22:46 +0200 |
commit | 56808731b699d7750726cd88dd06516c63d7f2f0 (patch) | |
tree | 7839dffdd0eec33f6ebd2cfa9195f7408ac6c289 /include/mbgl/style/layers/line_layer.hpp | |
parent | 3f314682fa2f2701c0d1c7e863013ce254a23afd (diff) | |
download | qtlocation-mapboxgl-56808731b699d7750726cd88dd06516c63d7f2f0.tar.gz |
Remove style::Layer::is()/as()
Diffstat (limited to 'include/mbgl/style/layers/line_layer.hpp')
-rw-r--r-- | include/mbgl/style/layers/line_layer.hpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/mbgl/style/layers/line_layer.hpp b/include/mbgl/style/layers/line_layer.hpp index 0e1d026e74..487fef5837 100644 --- a/include/mbgl/style/layers/line_layer.hpp +++ b/include/mbgl/style/layers/line_layer.hpp @@ -125,10 +125,5 @@ protected: Mutable<Layer::Impl> mutableBaseImpl() const final; }; -template <> -inline bool Layer::is<LineLayer>() const { - return getType() == LayerType::Line; -} - } // namespace style } // namespace mbgl |