1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-28 07:08:24 +00:00

Fix exception catch

This commit is contained in:
Carles Fernandez 2019-07-30 20:03:02 +02:00
parent 5e5c68c2f9
commit d83083a655
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -619,7 +619,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 - mean_f_if_Hz << " (Eph not found)" << std::endl;
}