Fix compile error that some people experienced.
This commit is contained in:
parent
8f836716b8
commit
43b90a58f8
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue