diff --git a/include/mbgl/style/layers/custom_layer.hpp b/include/mbgl/style/layers/custom_layer.hpp index 6bde08782..edc8d43f8 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() const { - return type == Type::Custom; -} +bool Layer::is() const; } // namespace style } // namespace mbgl diff --git a/platform/node/bitrise.yml b/platform/node/bitrise.yml index 9b066f26b..68829d966 100644 --- a/platform/node/bitrise.yml +++ b/platform/node/bitrise.yml @@ -62,6 +62,6 @@ workflows: gem install xcpretty --no-rdoc --no-ri export BUILDTYPE=Release export PUBLISH=true - make node + make test-node ./platform/node/scripts/after_success.sh - slack: *slack diff --git a/src/mbgl/style/layers/custom_layer.cpp b/src/mbgl/style/layers/custom_layer.cpp index 3407a7f5a..2504f3f15 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() const { + return type == Type::Custom; +} + } // namespace style } // namespace mbgl