diff --git a/test/srs/projections_combined.cpp b/test/srs/projections_combined.cpp index 805570587..3003a9403 100644 --- a/test/srs/projections_combined.cpp +++ b/test/srs/projections_combined.cpp @@ -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; } diff --git a/test/srs/projections_static.cpp b/test/srs/projections_static.cpp index 7ed865efb..49f737e7b 100644 --- a/test/srs/projections_static.cpp +++ b/test/srs/projections_static.cpp @@ -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; }