From 72f07dc851e37f11512909f92984c406c0c4eaf0 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Sun, 15 Dec 2024 08:58:07 +1000 Subject: [PATCH] Fix build --- .../auto_generated/pointcloud/qgspointcloudstatistics.sip.in | 2 +- .../auto_generated/pointcloud/qgspointcloudstatistics.sip.in | 2 +- src/core/pointcloud/qgspointcloudstatistics.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/python/PyQt6/core/auto_generated/pointcloud/qgspointcloudstatistics.sip.in b/python/PyQt6/core/auto_generated/pointcloud/qgspointcloudstatistics.sip.in index f2d213bd823c..b0b2f60dba1d 100644 --- a/python/PyQt6/core/auto_generated/pointcloud/qgspointcloudstatistics.sip.in +++ b/python/PyQt6/core/auto_generated/pointcloud/qgspointcloudstatistics.sip.in @@ -103,7 +103,7 @@ Merges the current statistics with the statistics from ``stats`` Converts the current statistics object into JSON object %End - static QgsPointCloudStatistics fromStatisticsJson( QByteArray stats ); + static QgsPointCloudStatistics fromStatisticsJson( const QByteArray &stats ); %Docstring Creates a statistics object from the JSON object ``stats`` %End diff --git a/python/core/auto_generated/pointcloud/qgspointcloudstatistics.sip.in b/python/core/auto_generated/pointcloud/qgspointcloudstatistics.sip.in index f2d213bd823c..b0b2f60dba1d 100644 --- a/python/core/auto_generated/pointcloud/qgspointcloudstatistics.sip.in +++ b/python/core/auto_generated/pointcloud/qgspointcloudstatistics.sip.in @@ -103,7 +103,7 @@ Merges the current statistics with the statistics from ``stats`` Converts the current statistics object into JSON object %End - static QgsPointCloudStatistics fromStatisticsJson( QByteArray stats ); + static QgsPointCloudStatistics fromStatisticsJson( const QByteArray &stats ); %Docstring Creates a statistics object from the JSON object ``stats`` %End diff --git a/src/core/pointcloud/qgspointcloudstatistics.h b/src/core/pointcloud/qgspointcloudstatistics.h index 7517cf9baaed..ee26f1664cac 100644 --- a/src/core/pointcloud/qgspointcloudstatistics.h +++ b/src/core/pointcloud/qgspointcloudstatistics.h @@ -129,7 +129,7 @@ class CORE_EXPORT QgsPointCloudStatistics QByteArray toStatisticsJson() const; //! Creates a statistics object from the JSON object \a stats - static QgsPointCloudStatistics fromStatisticsJson( QByteArray stats ); + static QgsPointCloudStatistics fromStatisticsJson( const QByteArray &stats ); #ifndef SIP_RUN //! Returns a map object containing all the statistics