fix: workaround GCC bug

see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329
Dieser Commit ist enthalten in:
Reinder Feenstra 2025-01-23 22:58:31 +01:00
Ursprung 989311e069
Commit 2144913340

Datei anzeigen

@ -44,7 +44,7 @@ DecoderFunctions::DecoderFunctions(Object& _parent, std::string_view parentPrope
}
auto function = std::make_shared<DecoderFunction>(decoder, number);
function->name = "F" + std::to_string(number);
function->name = std::to_string(number).insert(0, 1, 'F');
function->number = number;
if(number == 0) // F0 is (almost) always the light function
function->function = DecoderFunctionFunction::Light;