diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-03-15 08:39:21 -0700 |
---|---|---|
committer | Bobby Sudekum <bobby@mapbox.com> | 2017-03-15 08:39:21 -0700 |
commit | 841da960bccf5aa9c85a1e9549f8697b3645d401 (patch) | |
tree | 396b94de4eeeee54481dd0ff6769e624a349f448 /src | |
parent | a07e6aee045b82e8695616fbd4b08107ddb34f75 (diff) | |
download | qtlocation-mapboxgl-841da960bccf5aa9c85a1e9549f8697b3645d401.tar.gz |
[node] Work around a link error on macOS release builds (#8409)
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/style/layers/custom_layer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mbgl/style/layers/custom_layer.cpp b/src/mbgl/style/layers/custom_layer.cpp index 3407a7f5a5..2504f3f15c 100644 --- a/src/mbgl/style/layers/custom_layer.cpp +++ b/src/mbgl/style/layers/custom_layer.cpp @@ -20,5 +20,10 @@ CustomLayer::CustomLayer(const Impl& other) CustomLayer::~CustomLayer() = default; +template <> +bool Layer::is<CustomLayer>() const { + return type == Type::Custom; +} + } // namespace style } // namespace mbgl |