Skip to content
Permalink
Browse files

Remove unnecessary copy constructor from QgsPointCloudDataBounds -- i…

…t is identical to implicit one (fixes cppcheck warning)
  • Loading branch information
nyalldawson committed Oct 26, 2020
1 parent e4ab148 commit dda9eeff13d42a68b6dca95b8eea8fc7e1feb7d9
Showing with 0 additions and 11 deletions.
  1. +0 −10 src/core/pointcloud/qgspointcloudindex.cpp
  2. +0 −1 src/core/pointcloud/qgspointcloudindex.h
@@ -68,16 +68,6 @@ QgsPointCloudDataBounds::QgsPointCloudDataBounds( qint32 xmin, qint32 ymin, qint

}

QgsPointCloudDataBounds::QgsPointCloudDataBounds( const QgsPointCloudDataBounds &obj )
: mXMin( obj.xMin() )
, mYMin( obj.yMin() )
, mZMin( obj.zMin() )
, mXMax( obj.xMax() )
, mYMax( obj.yMax() )
, mZMax( obj.zMax() )
{
}

qint32 QgsPointCloudDataBounds::xMin() const
{
return mXMin;
@@ -69,7 +69,6 @@ class CORE_EXPORT QgsPointCloudDataBounds
public:
QgsPointCloudDataBounds(); // invalid
QgsPointCloudDataBounds( qint32 xmin, qint32 ymin, qint32 zmin, qint32 xmax, qint32 ymax, qint32 zmax );
QgsPointCloudDataBounds( const QgsPointCloudDataBounds &obj );

qint32 xMin() const;

0 comments on commit dda9eef

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