From c647ae33d8361d2923ad2f984d21c439de516202 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sun, 8 Jan 2023 23:43:02 -0800 Subject: [PATCH] make gcc-4.8 happy --- plugins/autochop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/autochop.cpp b/plugins/autochop.cpp index 046038330..2f0c4e2cb 100644 --- a/plugins/autochop.cpp +++ b/plugins/autochop.cpp @@ -688,7 +688,7 @@ static void autochop_printStatus(color_ostream &out) { protect_edible = get_config_bool(c, BURROW_CONFIG_PROTECT_EDIBLE); protect_cookable = get_config_bool(c, BURROW_CONFIG_PROTECT_COOKABLE); } - out.print(fmt, name_width, burrow->name, int_to_string(burrow->id).c_str(), + out.print(fmt, name_width, burrow->name.c_str(), int_to_string(burrow->id).c_str(), chop ? "[x]" : "[ ]", clearcut ? "[x]" : "[ ]", int_to_string(tree_counts[burrow->id]).c_str(), int_to_string(designated_tree_counts[burrow->id]).c_str(),