[test][srs] Catch projection_exception instead of proj_exception.

This commit is contained in:
Adam Wulkiewicz 2017-05-17 21:44:18 +02:00
parent 048d3fe53b
commit d755045f45
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ void test_forward(std::string const& id, GeoPoint const& geo_point1, GeoPoint co
// << " " << difference
// << std::endl;
}
catch(bg::proj_exception const& e)
catch(bg::projection_exception const& e)
{
std::cout << "Exception in " << id << " : " << e.code() << std::endl;
}

View File

@ -166,7 +166,7 @@ void test_forward(GeoPoint const& geo_point1, GeoPoint const& geo_point2,
// << " " << difference
// << std::endl;
}
catch(bg::proj_exception const& e)
catch(bg::projection_exception const& e)
{
std::cout << "Exception in " << projection_type::get_name() << " : " << e.code() << std::endl;
}