summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layer_impl.cpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2018-11-19 15:30:19 +0200
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2018-11-19 17:16:54 +0200
commit8ac87ec5cb2374d212a31942ca19ce395704eb69 (patch)
tree9ec08c29e1a4f5e779f9c69ba7d96411f1c64f1d /src/mbgl/style/layer_impl.cpp
parent9592e61288d071a7927c7cf99e7e5f3f97711642 (diff)
downloadqtlocation-mapboxgl-8ac87ec5cb2374d212a31942ca19ce395704eb69.tar.gz
Refactor util::fontStacks()
So that it does not downcast `Layer::Impl` instances. Also, an unneeded `std::vector` construction was removed from `Parser::fontStacks()`.
Diffstat (limited to 'src/mbgl/style/layer_impl.cpp')
-rw-r--r--src/mbgl/style/layer_impl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/style/layer_impl.cpp b/src/mbgl/style/layer_impl.cpp
index a9a3941f3e..c6a248de90 100644
--- a/src/mbgl/style/layer_impl.cpp
+++ b/src/mbgl/style/layer_impl.cpp
@@ -9,5 +9,7 @@ Layer::Impl::Impl(LayerType type_, std::string layerID, std::string sourceID)
source(std::move(sourceID)) {
}
+void Layer::Impl::populateFontStack(std::set<FontStack>&) const {}
+
} // namespace style
} // namespace mbgl