Skip to content

Commit

Permalink
Merge pull request #478 from lnicola/ogr-equals
Browse files Browse the repository at this point in the history
Stop using deprecated OGR_G_Equal
  • Loading branch information
lnicola authored Dec 1, 2023
2 parents 9524e82 + b971ee1 commit 1b5f55e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vector/geometry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ impl Debug for Geometry {

impl PartialEq for Geometry {
fn eq(&self, other: &Self) -> bool {
unsafe { gdal_sys::OGR_G_Equal(self.c_geometry(), other.c_geometry()) != 0 }
unsafe { gdal_sys::OGR_G_Equals(self.c_geometry(), other.c_geometry()) != 0 }
}
}

Expand Down

0 comments on commit 1b5f55e

Please sign in to comment.