diff options
-rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<RenderingParams> renderingPa #endif -std::unique_ptr<Surface> Surface::Allocate(Technology technology) { +std::unique_ptr<Surface> Surface::Allocate([[maybe_unused]] Technology technology) { #if defined(USE_D2D) if (technology == Technology::Default) return std::make_unique<SurfaceGDI>(); |