Skip to content
Permalink
Browse files
Merge pull request #44112 from qgis/collision
Rename _serialize -> __serialize
  • Loading branch information
manisandro committed Jul 12, 2021
2 parents d2fae52 + 1d73fcb commit 7d13ccee5a5dccb1148ef12b79aeae7570c218b7
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/core/pointcloud/qgseptdecoder.cpp
@@ -84,8 +84,8 @@ bool _storeToStream( char *s, size_t position, QgsPointCloudAttribute::DataType
return true;
}

bool _serialize( char *data, size_t outputPosition, QgsPointCloudAttribute::DataType outputType,
const char *input, QgsPointCloudAttribute::DataType inputType, int inputSize, size_t inputPosition )
bool __serialize( char *data, size_t outputPosition, QgsPointCloudAttribute::DataType outputType,
const char *input, QgsPointCloudAttribute::DataType inputType, int inputSize, size_t inputPosition )
{
if ( outputType == inputType )
{
@@ -182,9 +182,9 @@ QgsPointCloudBlock *_decompressBinary( const QByteArray &dataUncompressed, const
{
for ( const AttributeData &attribute : attributeData )
{
_serialize( destinationBuffer, outputOffset,
attribute.requestedType, s,
attribute.inputType, attribute.inputSize, i * pointRecordSize + attribute.inputOffset );
__serialize( destinationBuffer, outputOffset,
attribute.requestedType, s,
attribute.inputType, attribute.inputSize, i * pointRecordSize + attribute.inputOffset );

outputOffset += attribute.requestedSize;
}

0 comments on commit 7d13cce

Please sign in to comment.