aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartijn Laan <1092369+martijnlaan@users.noreply.github.com>2024-06-21 09:15:39 +1000
committerMartijn Laan <1092369+martijnlaan@users.noreply.github.com>2024-06-21 09:15:39 +1000
commit952fa56523c8855c156899e31ab5787cdc833d86 (patch)
tree7052877a20731e2effc7c0bd9bd78b5aa6511a55
parent4040c66fc31c7e537d063c65ed1e734e974250c2 (diff)
downloadscintilla-mirror-952fa56523c8855c156899e31ab5787cdc833d86.tar.gz
Feature [feature-requests:#1520]. Cherry pick DISABLE_D2D warning fix from isscint.
-rw-r--r--win32/PlatWin.cxx2
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>();