From 43b90a58f8f72b1d7ad581fcc6edcc955e165a7a Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 12 Apr 2016 21:37:21 +0100 Subject: [PATCH] Fix compile error that some people experienced. --- DMRLookup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DMRLookup.cpp b/DMRLookup.cpp index e01ab4f..12bf0ae 100644 --- a/DMRLookup.cpp +++ b/DMRLookup.cpp @@ -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);