Skip to content

Commit ecfdde5

Browse files
committed
Fix copy constructor for pal::PointSet
1 parent 05ebeee commit ecfdde5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core/pal/pointset.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,10 @@ namespace pal
115115
: mGeos( 0 )
116116
, mOwnsGeom( false )
117117
, parent( 0 )
118-
, xmin( DBL_MAX )
119-
, xmax( -DBL_MAX )
120-
, ymin( DBL_MAX )
121-
, ymax( -DBL_MAX )
118+
, xmin( ps.xmin )
119+
, xmax( ps.xmax )
120+
, ymin( ps.ymin )
121+
, ymax( ps.ymax )
122122
, mPreparedGeom( 0 )
123123
{
124124
int i;

0 commit comments

Comments
 (0)