mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-11 05:24:02 +00:00
[test][srs] Catch projection_exception instead of proj_exception.
This commit is contained in:
parent
048d3fe53b
commit
d755045f45
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user