mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 16:55:52 +08:00
Fix compile error that some people experienced.
This commit is contained in:
@@ -74,7 +74,7 @@ std::string CDMRLookup::find(unsigned int id) const
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
callsign = m_table.at(id);
|
callsign = m_table.at(id);
|
||||||
} catch (std::out_of_range& e) {
|
} catch (...) {
|
||||||
char text[10U];
|
char text[10U];
|
||||||
::sprintf(text, "%u", id);
|
::sprintf(text, "%u", id);
|
||||||
callsign = std::string(text);
|
callsign = std::string(text);
|
||||||
|
|||||||
Reference in New Issue
Block a user