From e84bcf83b4a88abd1743e65a39203083d0aba1e1 Mon Sep 17 00:00:00 2001 From: Rangi Date: Wed, 15 Jul 2026 23:27:08 -0400 Subject: [PATCH] Use `Procedure` concept to type-check `decantOn` lambda --- src/gfx/pal_packing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gfx/pal_packing.cpp b/src/gfx/pal_packing.cpp index b09bac62..9fecbd38 100644 --- a/src/gfx/pal_packing.cpp +++ b/src/gfx/pal_packing.cpp @@ -279,7 +279,7 @@ static void decant(std::vector &assignments, std::vector assume(!assignments.empty()); // "Decanting" is the process of moving all *things* that can fit in a lower index there - auto decantOn = [&assignments](auto const &tryDecanting) { + auto decantOn = [&assignments](Procedure auto tryDecanting) { // No need to attempt decanting on palette #0, as there are no palettes to decant to for (size_t from = assignments.size(); --from;) { // Scan all palettes before this one