diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2017-09-25 10:08:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-25 10:08:15 +0200 |
| commit | 03750c1961d2978773ac0b4a0423b1cdcc2c6453 (patch) | |
| tree | 95d3b3ca09850e8bcf99ef891a7da8a5abf68996 /src/PJ_unitconvert.c | |
| parent | 7db3acd2df38508e107209c912ac0b5ce2663f9c (diff) | |
| parent | 6fb79f304faec4d036ea46f19aa197e8cc85fe2e (diff) | |
| download | PROJ-03750c1961d2978773ac0b4a0423b1cdcc2c6453.tar.gz PROJ-03750c1961d2978773ac0b4a0423b1cdcc2c6453.zip | |
Merge pull request #570 from kbevers/api-streamlining
Streamlining the proj.h API
Diffstat (limited to 'src/PJ_unitconvert.c')
| -rw-r--r-- | src/PJ_unitconvert.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_unitconvert.c b/src/PJ_unitconvert.c index 06723399..7ce6035c 100644 --- a/src/PJ_unitconvert.c +++ b/src/PJ_unitconvert.c @@ -412,7 +412,7 @@ int pj_unitconvert_selftest (void) {return 0;} static int test_time(char* args, double tol, double t_in, double t_exp) { PJ_OBS in, out; - PJ *P = proj_create(0, args); + PJ *P = proj_create(PJ_DEFAULT_CTX, args); int ret = 0; if (P == 0) @@ -438,7 +438,7 @@ static int test_time(char* args, double tol, double t_in, double t_exp) { static int test_xyz(char* args, double tol, PJ_TRIPLET in, PJ_TRIPLET exp) { PJ_OBS out, obs_in; - PJ *P = proj_create(0, args); + PJ *P = proj_create(PJ_DEFAULT_CTX, args); int ret = 0; if (P == 0) |
