[node] Work around a link error on macOS release builds (#8409)

This commit is contained in:
John Firebaugh
2017-03-15 08:39:21 -07:00
committed by Bobby Sudekum
parent a07e6aee04
commit 841da960bc
3 changed files with 7 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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