diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-09 17:05:21 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-09 17:05:21 +0100 |
| commit | d6dad2cee4307f6b190a96dd48942645060919cc (patch) | |
| tree | 5819c2626b6361dd007df884255ab713437939dd /src/iso19111/c_api.cpp | |
| parent | 5b75e5fdccc531f7b0e3dcd636fa1ff3500bb071 (diff) | |
| download | PROJ-d6dad2cee4307f6b190a96dd48942645060919cc.tar.gz PROJ-d6dad2cee4307f6b190a96dd48942645060919cc.zip | |
Allocate projCtx_t as a C++ object
Diffstat (limited to 'src/iso19111/c_api.cpp')
| -rw-r--r-- | src/iso19111/c_api.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp index 5717a76a..d13c33c7 100644 --- a/src/iso19111/c_api.cpp +++ b/src/iso19111/c_api.cpp @@ -74,7 +74,7 @@ static void PROJ_NO_INLINE proj_log_error(PJ_CONTEXT *ctx, const char *function, std::string msg(function); msg += ": "; msg += text; - ctx->logger(ctx->app_data, PJ_LOG_ERROR, msg.c_str()); + ctx->logger(ctx->logger_app_data, PJ_LOG_ERROR, msg.c_str()); } // --------------------------------------------------------------------------- @@ -84,7 +84,7 @@ static void PROJ_NO_INLINE proj_log_debug(PJ_CONTEXT *ctx, const char *function, std::string msg(function); msg += ": "; msg += text; - ctx->logger(ctx->app_data, PJ_LOG_DEBUG, msg.c_str()); + ctx->logger(ctx->logger_app_data, PJ_LOG_DEBUG, msg.c_str()); } // --------------------------------------------------------------------------- |
