From f6ab1630b11cb9a2cb0a07cb83af35bac5ffe29c Mon Sep 17 00:00:00 2001 From: John Cosker Date: Thu, 9 Feb 2023 08:30:09 -0500 Subject: [PATCH] Cleanup --- plugins/autoslab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/autoslab.cpp b/plugins/autoslab.cpp index 06c7d1c0f..e78314bfd 100644 --- a/plugins/autoslab.cpp +++ b/plugins/autoslab.cpp @@ -206,7 +206,7 @@ static void checkslabs(color_ostream &out) if (histToJob.count(ghost->hist_figure_id) == 0 && !std::any_of(world->items.other.SLAB.begin(), world->items.other.SLAB.end(), - [&ghost,&out](df::item_slabst *slab){ + [&ghost](df::item_slabst *slab){ return slab->engraving_type == df::slab_engraving_type::Memorial && slab->topic == ghost->hist_figure_id; }) )