aboutsummaryrefslogtreecommitdiff
path: root/src/pipeline.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-12-27 12:25:03 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-12-27 12:25:03 +0100
commitf085b39752d00a296c288be42dfc69b39b73823f (patch)
treef988a9d279865b2e17fd52da5162eadb1bb37c09 /src/pipeline.cpp
parentaa8c7826cf17e650ee2c3a2281aca49db37c4e81 (diff)
downloadPROJ-f085b39752d00a296c288be42dfc69b39b73823f.tar.gz
PROJ-f085b39752d00a296c288be42dfc69b39b73823f.zip
Handle context reassignment for Grid/GridSet/File objects
Diffstat (limited to 'src/pipeline.cpp')
-rw-r--r--src/pipeline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pipeline.cpp b/src/pipeline.cpp
index 96767143..f65dbfa0 100644
--- a/src/pipeline.cpp
+++ b/src/pipeline.cpp
@@ -155,7 +155,7 @@ static PJ_LPZ pipeline_reverse_3d (PJ_XYZ xyz, PJ *P);
static PJ_XY pipeline_forward (PJ_LP lp, PJ *P);
static PJ_LP pipeline_reverse (PJ_XY xy, PJ *P);
-void pj_pipeline_assign_context_to_steps( PJ* P, PJ_CONTEXT* ctx )
+static void pipeline_reassign_context( PJ* P, PJ_CONTEXT* ctx )
{
auto pipeline = static_cast<struct Pipeline*>(P->opaque);
for( auto& step: pipeline->steps )
@@ -413,7 +413,7 @@ PJ *OPERATION(pipeline,0) {
P->fwd = pipeline_forward;
P->inv = pipeline_reverse;
P->destructor = destructor;
- P->is_pipeline = 1;
+ P->reassign_context = pipeline_reassign_context;
/* Currently, the pipeline driver is a raw bit mover, enabling other operations */
/* to collaborate efficiently. All prep/fin stuff is done at the step levels. */