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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user