diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2018-12-14 12:51:23 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2018-12-14 12:51:23 +0100 |
| commit | 4638b45730ab29b2891e57474fa9ee130d6b38a4 (patch) | |
| tree | 616fc9dc30aad48eae25febe3ef552770677ef7d /test/unit/test_c_api.cpp | |
| parent | b2aa77f811dc0dd257afe3fccac49c62fcf039b2 (diff) | |
| download | PROJ-4638b45730ab29b2891e57474fa9ee130d6b38a4.tar.gz PROJ-4638b45730ab29b2891e57474fa9ee130d6b38a4.zip | |
Rename proj_destroy_int_list to proj_int_list_destroy and proj_destroy_string_list to proj_string_list_destroy for consistency (refs #1198)
Diffstat (limited to 'test/unit/test_c_api.cpp')
| -rw-r--r-- | test/unit/test_c_api.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/test_c_api.cpp b/test/unit/test_c_api.cpp index 36b08529..7384262b 100644 --- a/test/unit/test_c_api.cpp +++ b/test/unit/test_c_api.cpp @@ -927,7 +927,7 @@ TEST_F(CApi, proj_obj_get_source_target_crs_invalid_object) { struct ListFreer { PROJ_STRING_LIST list; ListFreer(PROJ_STRING_LIST ptrIn) : list(ptrIn) {} - ~ListFreer() { proj_destroy_string_list(list); } + ~ListFreer() { proj_string_list_destroy(list); } ListFreer(const ListFreer &) = delete; ListFreer &operator=(const ListFreer &) = delete; }; @@ -1479,7 +1479,7 @@ TEST_F(CApi, proj_obj_identify) { ObjListKeeper keeper_res(res); EXPECT_EQ(proj_obj_list_get_count(res), 1); EXPECT_EQ(confidence[0], 100); - proj_destroy_int_list(confidence); + proj_int_list_destroy(confidence); } { auto objEllps = proj_obj_create_from_wkt( |
