aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_c_api.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-12-06 22:51:27 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-12-06 23:42:16 +0100
commitcae698abe380b3823c3f08151c25097031ae091f (patch)
tree0a6702b21eb70e2915b6f7df8514cbec93de0e05 /test/unit/test_c_api.cpp
parent67ca5c199dfe62fc0738a808f3142af2e77eafd7 (diff)
downloadPROJ-cae698abe380b3823c3f08151c25097031ae091f.tar.gz
PROJ-cae698abe380b3823c3f08151c25097031ae091f.zip
Speed-up createBoundCRSToWGS84IfPossible()
Diffstat (limited to 'test/unit/test_c_api.cpp')
-rw-r--r--test/unit/test_c_api.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp
index b119d914..f3ba66df 100644
--- a/test/unit/test_c_api.cpp
+++ b/test/unit/test_c_api.cpp
@@ -402,7 +402,7 @@ TEST_F(CApi, proj_obj_crs_create_bound_crs_to_WGS84) {
ObjectKeeper keeper(crs);
ASSERT_NE(crs, nullptr);
- auto res = proj_obj_crs_create_bound_crs_to_WGS84(m_ctxt, crs);
+ auto res = proj_obj_crs_create_bound_crs_to_WGS84(m_ctxt, crs, nullptr);
ObjectKeeper keeper_res(res);
ASSERT_NE(res, nullptr);
@@ -447,7 +447,7 @@ TEST_F(CApi, proj_obj_crs_create_bound_crs_to_WGS84_on_invalid_type) {
ObjectKeeper keeper(obj);
ASSERT_NE(obj, nullptr);
- auto res = proj_obj_crs_create_bound_crs_to_WGS84(m_ctxt, obj);
+ auto res = proj_obj_crs_create_bound_crs_to_WGS84(m_ctxt, obj, nullptr);
ASSERT_EQ(res, nullptr);
}