Skip to content

Commit

Permalink
Fix cppcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Nov 12, 2020
1 parent eedea26 commit 5375508
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/pointcloud/qgspointcloudrenderer.cpp
Expand Up @@ -36,6 +36,7 @@ QgsPointCloudRendererConfig::QgsPointCloudRendererConfig( const QgsPointCloudRen
mZMax = other.zMax();
mPenWidth = other.penWidth();
mColorRamp.reset( other.colorRamp()->clone() );
mAttribute = other.attribute();
}

QgsPointCloudRendererConfig &QgsPointCloudRendererConfig::QgsPointCloudRendererConfig::operator =( const QgsPointCloudRendererConfig &other )
Expand All @@ -44,6 +45,7 @@ QgsPointCloudRendererConfig &QgsPointCloudRendererConfig::QgsPointCloudRendererC
mZMax = other.zMax();
mPenWidth = other.penWidth();
mColorRamp.reset( other.colorRamp()->clone() );
mAttribute = other.attribute();
return *this;
}

Expand Down

0 comments on commit 5375508

Please sign in to comment.