Skip to content

Commit

Permalink
MapScript: layerObj.executeWFSGetFeature(): do not take an extra laye…
Browse files Browse the repository at this point in the history
…rObj* argument, but just use self
  • Loading branch information
rouault committed Aug 25, 2024
1 parent 41976ec commit 6d57488
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mapscript/swiginc/layer.i
Original file line number Diff line number Diff line change
Expand Up @@ -651,9 +651,9 @@

%newobject executeWFSGetFeature;
/// Executes a GetFeature request on a WFS layer and returns the name of the temporary GML file created. Returns an empty string on error.
char *executeWFSGetFeature(layerObj *layer)
char *executeWFSGetFeature()
{
return (char *) msWFSExecuteGetFeature(layer);
return (char *) msWFSExecuteGetFeature(self);
}

/**
Expand Down

0 comments on commit 6d57488

Please sign in to comment.