summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-03-15 08:39:21 -0700
committerBobby Sudekum <bobby@mapbox.com>2017-03-15 08:39:21 -0700
commit841da960bccf5aa9c85a1e9549f8697b3645d401 (patch)
tree396b94de4eeeee54481dd0ff6769e624a349f448 /include
parenta07e6aee045b82e8695616fbd4b08107ddb34f75 (diff)
downloadqtlocation-mapboxgl-841da960bccf5aa9c85a1e9549f8697b3645d401.tar.gz
[node] Work around a link error on macOS release builds (#8409)
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