Skip to content
Permalink
Browse files
Rename _serialize -> __serialize to fix collision with _serialize fro…
…m serializeintrin.h
  • Loading branch information
manisandro committed Jul 10, 2021
1 parent 72626d1 commit 1d73fcb33f890af3c83ec3d00470f02c8f4d1575
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 1d73fcb

Please sign in to comment.