From 952fa56523c8855c156899e31ab5787cdc833d86 Mon Sep 17 00:00:00 2001 From: Martijn Laan <1092369+martijnlaan@users.noreply.github.com> Date: Fri, 21 Jun 2024 09:15:39 +1000 Subject: Feature [feature-requests:#1520]. Cherry pick DISABLE_D2D warning fix from isscint. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 5deccbf3d..ac1fcb51d 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -2699,7 +2699,7 @@ void SurfaceD2D::SetRenderingParams(std::shared_ptr renderingPa #endif -std::unique_ptr Surface::Allocate(Technology technology) { +std::unique_ptr Surface::Allocate([[maybe_unused]] Technology technology) { #if defined(USE_D2D) if (technology == Technology::Default) return std::make_unique(); -- cgit v1.2.3