diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2020-11-17 12:54:24 +0100 |
|---|---|---|
| committer | Kristian Evers <kristianevers@gmail.com> | 2020-11-20 16:40:40 +0100 |
| commit | a74b985b5006c2d279353a245cfcb850cf7fcc94 (patch) | |
| tree | 0f71f55671b6014893df2d0bf61804bcbbdc9c8c /src/dmstor.cpp | |
| parent | 7f79fe7325a74d2a9eac93d7081a107ae54bb877 (diff) | |
| download | PROJ-a74b985b5006c2d279353a245cfcb850cf7fcc94.tar.gz PROJ-a74b985b5006c2d279353a245cfcb850cf7fcc94.zip | |
Remove pj_ctx_* functions and use their proj_context counterparts
Diffstat (limited to 'src/dmstor.cpp')
| -rw-r--r-- | src/dmstor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dmstor.cpp b/src/dmstor.cpp index e72d9930..24887a11 100644 --- a/src/dmstor.cpp +++ b/src/dmstor.cpp @@ -61,7 +61,7 @@ dmstor_ctx(PJ_CONTEXT *ctx, const char *is, char **rs) { n = 2; break; case 'r': case 'R': if (nl) { - pj_ctx_set_errno( ctx, PJD_ERR_WRONG_FORMAT_DMS_VALUE ); + proj_context_errno_set( ctx, PJD_ERR_WRONG_FORMAT_DMS_VALUE ); return HUGE_VAL; } ++s; @@ -73,7 +73,7 @@ dmstor_ctx(PJ_CONTEXT *ctx, const char *is, char **rs) { continue; } if (n < nl) { - pj_ctx_set_errno( ctx, PJD_ERR_WRONG_FORMAT_DMS_VALUE ); + proj_context_errno_set( ctx, PJD_ERR_WRONG_FORMAT_DMS_VALUE ); return HUGE_VAL; } v += tv * vm[n]; |
