diff --git a/include/mbgl/mtl/renderer_backend.hpp b/include/mbgl/mtl/renderer_backend.hpp index fe7abb18b..1859de16f 100644 --- a/include/mbgl/mtl/renderer_backend.hpp +++ b/include/mbgl/mtl/renderer_backend.hpp @@ -32,7 +32,7 @@ public: const MTLDevicePtr& getDevice() const { return device; } const MTLCommandQueuePtr& getCommandQueue() const { return commandQueue; } - const bool isBaseVertexInstanceDrawingSupported() const { return baseVertexInstanceDrawingSupported; } + bool isBaseVertexInstanceDrawingSupported() const { return baseVertexInstanceDrawingSupported; } protected: std::unique_ptr createContext() override; diff --git a/src/mbgl/gfx/stencil_mode.hpp b/src/mbgl/gfx/stencil_mode.hpp index 0ccf21fae..92d2265e8 100644 --- a/src/mbgl/gfx/stencil_mode.hpp +++ b/src/mbgl/gfx/stencil_mode.hpp @@ -44,14 +44,5 @@ public: } }; -template -constexpr StencilFunctionType StencilMode::SimpleTest::func; - -template -constexpr uint32_t StencilMode::SimpleTest::mask; - -template -constexpr StencilFunctionType StencilMode::MaskedTest::func; - } // namespace gfx } // namespace mbgl