1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-30 14:53:03 +00:00

Enforce rule 15.1 of the High Integrity C++ Coding Standard

See https://www.perforce.com/resources/qac/high-integrity-c-coding-standard-exception-handling
This commit is contained in:
Carles Fernandez
2019-07-30 12:51:36 +02:00
parent 9b4597572c
commit cc54b4a122
5 changed files with 9 additions and 6 deletions

View File

@@ -574,7 +574,7 @@ int main(int argc, char** argv)
{
std::cout << "Exception caught while reading ephemeris" << std::endl;
}
catch (int ex)
catch (const std::exception& ex)
{
std::cout << " " << it.first << " " << it.second << " (Eph not found)" << std::endl;
}