diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-06-02 22:51:31 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-06-03 11:29:16 +0200 |
| commit | 9ce2d6fc0e1d7591d0d588a16ab6589910092cfc (patch) | |
| tree | b8646a32db80e86020b7fa2ecb397b837a2acf5a /include | |
| parent | e0a1b88e828b28445a3e45ad0936f5480cfcd1ce (diff) | |
| download | PROJ-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 'include')
| -rw-r--r-- | include/proj/internal/io_internal.hpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/proj/internal/io_internal.hpp b/include/proj/internal/io_internal.hpp index ccc3787e..a57ca5ce 100644 --- a/include/proj/internal/io_internal.hpp +++ b/include/proj/internal/io_internal.hpp @@ -173,7 +173,6 @@ struct projCppContext { PJ_CONTEXT *ctx_ = nullptr; std::string dbPath_{}; std::vector<std::string> auxDbPaths_{}; - bool autoCloseDb_ = false; projCppContext(const projCppContext &) = delete; projCppContext &operator=(const projCppContext &) = delete; @@ -201,17 +200,6 @@ struct projCppContext { return auxDbPaths_; } - void setAutoCloseDb(bool autoClose) { - autoCloseDb_ = autoClose; - autoCloseDbIfNeeded(); - } - inline bool getAutoCloseDb() const { return autoCloseDb_; } - - // cppcheck-suppress functionStatic - void closeDb(); - - void autoCloseDbIfNeeded(); - NS_PROJ::io::DatabaseContextNNPtr getDatabaseContext(); }; |
