Fixing compilation on gcc.

This commit is contained in:
Vojtech Bubnik 2021-05-26 14:30:25 +02:00
parent e24026bfa5
commit cba1950a4e

View File

@ -1536,8 +1536,8 @@ PrintObjectConfig PrintObject::object_config_from_model_object(const PrintObject
return config;
}
const std::string key_extruder { "extruder" };
static constexpr const std::initializer_list<std::string_view> keys_extruders { "infill_extruder", "solid_infill_extruder", "perimeter_extruder" };
const std::string key_extruder { "extruder" };
static constexpr const std::initializer_list<const std::string_view> keys_extruders { "infill_extruder", "solid_infill_extruder", "perimeter_extruder" };
static void apply_to_print_region_config(PrintRegionConfig &out, const DynamicPrintConfig &in)
{