remove the only 1 stoi (#2341)

This commit is contained in:
Totoo 2024-11-08 08:12:50 +01:00 committed by GitHub
parent 5851b47f99
commit a153cd741d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -276,7 +276,7 @@ class APRSPacket {
if (!is_digits(sub)) {
return 0;
} else {
return std::stoi(sub);
return atoi(sub.c_str());
}
}