From 84713021edf688c9cf157562d34388583325aa45 Mon Sep 17 00:00:00 2001 From: "Alan D. Snow" Date: Wed, 19 Aug 2020 08:02:42 -0500 Subject: Clone projCppContext context when copying projCtx_t (#2324) --- include/proj/internal/io_internal.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 &auxDbPaths = {}); + projCppContext* clone(PJ_CONTEXT *ctx) const; + // cppcheck-suppress functionStatic inline const std::string &getDbPath() const { return dbPath_; } -- cgit v1.2.3