summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/style/layers/custom_layer.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/mbgl/style/layers/custom_layer.hpp b/include/mbgl/style/layers/custom_layer.hpp
index 6bde087820..edc8d43f89 100644
--- a/include/mbgl/style/layers/custom_layer.hpp
+++ b/include/mbgl/style/layers/custom_layer.hpp
@@ -65,9 +65,7 @@ public:
};
template <>
-inline bool Layer::is<CustomLayer>() const {
- return type == Type::Custom;
-}
+bool Layer::is<CustomLayer>() const;
} // namespace style
} // namespace mbgl