Skip to content
Permalink
Browse files

Fix copy constructor for pal::FeaturePart

  • Loading branch information
nyalldawson committed Nov 21, 2015
1 parent 55ead85 commit 531fec039c4e5b3ecb97970f7f50dc77416d9e18
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/core/pal/feature.cpp
@@ -78,9 +78,10 @@ namespace pal
: PointSet( other )
, mLF( other.mLF )
{
Q_FOREACH ( FeaturePart* part, other.mHoles )
Q_FOREACH ( FeaturePart* hole, other.mHoles )
{
mHoles << new FeaturePart( *part );
mHoles << new FeaturePart( *hole );
mHoles.last()->holeOf = this;
}
}

0 comments on commit 531fec0

Please sign in to comment.
You can’t perform that action at this time.