diff --git a/include/mbgl/style/types.hpp b/include/mbgl/style/types.hpp index 00c0f65b137..d349750bee7 100644 --- a/include/mbgl/style/types.hpp +++ b/include/mbgl/style/types.hpp @@ -129,7 +129,7 @@ enum class LightAnchorType : bool { } // namespace style -template <> \ +template <> const char* Enum::toString(style::SymbolAnchorType t); } // namespace mbgl diff --git a/src/mbgl/renderer/render_source.hpp b/src/mbgl/renderer/render_source.hpp index 492599ba96b..17e8a43d671 100644 --- a/src/mbgl/renderer/render_source.hpp +++ b/src/mbgl/renderer/render_source.hpp @@ -87,10 +87,11 @@ class RenderSource : protected TileObserver { virtual std::vector querySourceFeatures(const SourceQueryOptions&) const = 0; - virtual FeatureExtensionValue queryFeatureExtensions(const Feature&, - const std::string&, - const std::string&, - const std::optional>&) const { + virtual FeatureExtensionValue queryFeatureExtensions( + const Feature&, + const std::string&, + const std::string&, + const std::optional>&) const { return {}; }