Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Copy all members in FeaturePart copy constructor
No real bug here -- in the only place this constructor is used
the additional members are unused
  • Loading branch information
nyalldawson committed Apr 17, 2023
1 parent 477a647 commit 4b9c6c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/pal/feature.cpp
Expand Up @@ -70,6 +70,9 @@ FeaturePart::FeaturePart( QgsLabelFeature *feat, const GEOSGeometry *geom )
FeaturePart::FeaturePart( const FeaturePart &other )
: PointSet( other )
, mLF( other.mLF )
, mTotalRepeats( other.mTotalRepeats )
, mCachedMaxLineCandidates( other.mCachedMaxLineCandidates )
, mCachedMaxPolygonCandidates( other.mCachedMaxPolygonCandidates )
{
for ( const FeaturePart *hole : std::as_const( other.mHoles ) )
{
Expand Down

0 comments on commit 4b9c6c0

Please sign in to comment.