mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 00:35:53 +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 {
|
||||
callsign = m_table.at(id);
|
||||
} catch (std::out_of_range& e) {
|
||||
} catch (...) {
|
||||
char text[10U];
|
||||
::sprintf(text, "%u", id);
|
||||
callsign = std::string(text);
|
||||
|
||||
Reference in New Issue
Block a user