mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Another warning fix for gcc 11
This commit is contained in:
@@ -1216,7 +1216,7 @@ DynamicConfig SLAPrintStatistics::config() const
|
|||||||
DynamicConfig SLAPrintStatistics::placeholders()
|
DynamicConfig SLAPrintStatistics::placeholders()
|
||||||
{
|
{
|
||||||
DynamicConfig config;
|
DynamicConfig config;
|
||||||
for (const std::string &key : {
|
for (const char *key : {
|
||||||
"print_time", "total_cost", "total_weight",
|
"print_time", "total_cost", "total_weight",
|
||||||
"objects_used_material", "support_used_material" })
|
"objects_used_material", "support_used_material" })
|
||||||
config.set_key_value(key, new ConfigOptionString(std::string("{") + key + "}"));
|
config.set_key_value(key, new ConfigOptionString(std::string("{") + key + "}"));
|
||||||
|
|||||||
Reference in New Issue
Block a user