Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[node] Work around a link error on macOS release builds (#8409)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh authored and Bobby Sudekum committed Mar 15, 2017
1 parent a07e6ae commit 841da96
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 1 addition & 3 deletions include/mbgl/style/layers/custom_layer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ class CustomLayer : public Layer {
};

template <>
inline bool Layer::is<CustomLayer>() const {
return type == Type::Custom;
}
bool Layer::is<CustomLayer>() const;

} // namespace style
} // namespace mbgl
2 changes: 1 addition & 1 deletion platform/node/bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions src/mbgl/style/layers/custom_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 841da96

Please sign in to comment.