mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-11 04:31:46 +08:00
Another warning fix for gcc 11
This commit is contained in:
parent
ed67fb506e
commit
6887fa829e
@ -1216,7 +1216,7 @@ DynamicConfig SLAPrintStatistics::config() const
|
||||
DynamicConfig SLAPrintStatistics::placeholders()
|
||||
{
|
||||
DynamicConfig config;
|
||||
for (const std::string &key : {
|
||||
for (const char *key : {
|
||||
"print_time", "total_cost", "total_weight",
|
||||
"objects_used_material", "support_used_material" })
|
||||
config.set_key_value(key, new ConfigOptionString(std::string("{") + key + "}"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user