diff --git a/src/libslic3r/PrintObject.cpp b/src/libslic3r/PrintObject.cpp index b75adb027..5422908ba 100644 --- a/src/libslic3r/PrintObject.cpp +++ b/src/libslic3r/PrintObject.cpp @@ -15,15 +15,19 @@ #include "Fill/FillAdaptive.hpp" #include "Format/STL.hpp" -#include -#include #include +#include +#include + +#include #include #include #include +using namespace std::literals; + //! macro used to mark string used at localization, //! return same string #define L(s) Slic3r::I18N::translate(s) @@ -1537,7 +1541,7 @@ PrintObjectConfig PrintObject::object_config_from_model_object(const PrintObject } const std::string key_extruder { "extruder" }; -static constexpr const std::initializer_list keys_extruders { "infill_extruder", "solid_infill_extruder", "perimeter_extruder" }; +static constexpr const std::initializer_list keys_extruders { "infill_extruder"sv, "solid_infill_extruder"sv, "perimeter_extruder"sv }; static void apply_to_print_region_config(PrintRegionConfig &out, const DynamicPrintConfig &in) {