[node] Work around a link error on macOS release builds (#8409)
This commit is contained in:
committed by
Bobby Sudekum
parent
a07e6aee04
commit
841da960bc
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user