Skip to content

Commit

Permalink
Fix copy constructor for pal::FeaturePart
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 21, 2015
1 parent 55ead85 commit 531fec0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/core/pal/feature.cpp
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 531fec0

Please sign in to comment.