From a70e477087ff05ab24a54b806d89b5e4b970ec0a Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 18 Dec 2019 21:00:00 +0100 Subject: Rename PJ_CONTEXT::fileapi member as fileapi_legacy --- src/ctx.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ctx.cpp') diff --git a/src/ctx.cpp b/src/ctx.cpp index bcb6e1cc..4536582d 100644 --- a/src/ctx.cpp +++ b/src/ctx.cpp @@ -95,7 +95,7 @@ projCtx_t projCtx_t::createDefault() projCtx_t ctx; ctx.debug_level = PJ_LOG_NONE; ctx.logger = pj_stderr_logger; - ctx.fileapi = pj_get_default_fileapi(); + ctx.fileapi_legacy = pj_get_default_fileapi(); if( getenv("PROJ_DEBUG") != nullptr ) { @@ -133,7 +133,7 @@ projCtx_t::projCtx_t(const projCtx_t& other) debug_level = other.debug_level; logger = other.logger; logger_app_data = other.logger_app_data; - fileapi = other.fileapi; + fileapi_legacy = other.fileapi_legacy; epsg_file_exists = other.epsg_file_exists; set_search_paths(other.search_paths); file_finder = other.file_finder; @@ -268,7 +268,7 @@ void pj_ctx_set_fileapi( projCtx ctx, projFileAPI *fileapi ) { if (nullptr==ctx) return; - ctx->fileapi = fileapi; + ctx->fileapi_legacy = fileapi; } /************************************************************************/ @@ -280,6 +280,6 @@ projFileAPI *pj_ctx_get_fileapi( projCtx ctx ) { if (nullptr==ctx) return nullptr; - return ctx->fileapi; + return ctx->fileapi_legacy; } -- cgit v1.2.3