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

View File

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