mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-11-24 13:53:11 -05:00
remove the only 1 stoi (#2341)
This commit is contained in:
parent
5851b47f99
commit
a153cd741d
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue