From fed3b4ddb4a43308fc5093ef5139c5839d4edfc4 Mon Sep 17 00:00:00 2001 From: John Cosker Date: Wed, 8 Feb 2023 22:25:35 -0500 Subject: [PATCH] Hopefully fix CI linux build --- plugins/autoslab.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/autoslab.cpp b/plugins/autoslab.cpp index 7cb67beb3..5f9c0732a 100644 --- a/plugins/autoslab.cpp +++ b/plugins/autoslab.cpp @@ -213,7 +213,7 @@ static void checkslabs(color_ostream &out) if (histToJob.count(ghost->hist_figure_id) == 0 && !std::any_of(engravedSlabs.begin(), engravedSlabs.end(), - [&ghost](const auto &slab){ + [&ghost](df::item *slab){ auto slabst = virtual_cast(slab); return slabst->topic == ghost->hist_figure_id; }) @@ -223,6 +223,10 @@ static void checkslabs(color_ostream &out) auto fullName = get_first_name(ghost) + " " + get_last_name(ghost); out.print("Added slab order for ghost %s\n", fullName.c_str()); } + else { + auto fullName = get_first_name(ghost) + " " + get_last_name(ghost); + out.print("%s doesn't need slab\n", fullName.c_str()); + } } }