mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-13 17:54:28 -05:00
remove the only 1 stoi (#2341)
This commit is contained in:
parent
5851b47f99
commit
a153cd741d
@ -276,7 +276,7 @@ class APRSPacket {
|
|||||||
if (!is_digits(sub)) {
|
if (!is_digits(sub)) {
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
return std::stoi(sub);
|
return atoi(sub.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user