Skip to content
Permalink
Browse files

Fix cppcheck warning

  • Loading branch information
nyalldawson committed Nov 12, 2020
1 parent eedea26 commit 5375508f72170383f3bf6d8ed149ca9f0db688b7
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/pointcloud/qgspointcloudrenderer.cpp
@@ -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 )
@@ -44,6 +45,7 @@ QgsPointCloudRendererConfig &QgsPointCloudRendererConfig::QgsPointCloudRendererC
mZMax = other.zMax();
mPenWidth = other.penWidth();
mColorRamp.reset( other.colorRamp()->clone() );
mAttribute = other.attribute();
return *this;
}

0 comments on commit 5375508

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