aboutsummaryrefslogtreecommitdiff
path: root/src/ctx.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-06-02 22:51:31 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-06-03 11:29:16 +0200
commit9ce2d6fc0e1d7591d0d588a16ab6589910092cfc (patch)
treeb8646a32db80e86020b7fa2ecb397b837a2acf5a /src/ctx.cpp
parente0a1b88e828b28445a3e45ad0936f5480cfcd1ce (diff)
downloadPROJ-9ce2d6fc0e1d7591d0d588a16ab6589910092cfc.tar.gz
PROJ-9ce2d6fc0e1d7591d0d588a16ab6589910092cfc.zip
Make proj_context_set_autoclose_database() a no-op as it would defeat the purpose of the new database connection sharing
Diffstat (limited to 'src/ctx.cpp')
-rw-r--r--src/ctx.cpp11
1 files changed, 0 insertions, 11 deletions
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() */
/************************************************************************/