diff options
| author | Alan D. Snow <alansnow21@gmail.com> | 2020-08-19 08:02:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-19 15:02:42 +0200 |
| commit | 84713021edf688c9cf157562d34388583325aa45 (patch) | |
| tree | 6a1694de8df49fb68a66e74c02e5f8750a0c0e78 /include | |
| parent | 62ad09fe02c4a67e727822134768e4ebe6c8cde4 (diff) | |
| download | PROJ-84713021edf688c9cf157562d34388583325aa45.tar.gz PROJ-84713021edf688c9cf157562d34388583325aa45.zip | |
Clone projCppContext context when copying projCtx_t (#2324)
Diffstat (limited to 'include')
| -rw-r--r-- | include/proj/internal/io_internal.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/proj/internal/io_internal.hpp b/include/proj/internal/io_internal.hpp index 617dffab..31dd70df 100644 --- a/include/proj/internal/io_internal.hpp +++ b/include/proj/internal/io_internal.hpp @@ -191,6 +191,8 @@ struct projCppContext { explicit projCppContext(PJ_CONTEXT *ctx, const char *dbPath = nullptr, const std::vector<std::string> &auxDbPaths = {}); + projCppContext* clone(PJ_CONTEXT *ctx) const; + // cppcheck-suppress functionStatic inline const std::string &getDbPath() const { return dbPath_; } |
