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