From 9ce2d6fc0e1d7591d0d588a16ab6589910092cfc Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Wed, 2 Jun 2021 22:51:31 +0200 Subject: Make proj_context_set_autoclose_database() a no-op as it would defeat the purpose of the new database connection sharing --- src/ctx.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/ctx.cpp') diff --git a/src/ctx.cpp b/src/ctx.cpp index cc9df6c3..5ec10b9e 100644 --- a/src/ctx.cpp +++ b/src/ctx.cpp @@ -116,17 +116,6 @@ projCppContext* pj_ctx::get_cpp_context() return cpp_context; } -/**************************************************************************/ -/* safeAutoCloseDbIfNeeded() */ -/**************************************************************************/ - -void pj_ctx::safeAutoCloseDbIfNeeded() -{ - if (cpp_context) { - cpp_context->autoCloseDbIfNeeded(); - } -} - /************************************************************************/ /* set_search_paths() */ /************************************************************************/ -- cgit v1.2.3