Skip to content
Permalink
Browse files
Rename _serialize -> __serialize to fix collision with _serialize fro…
…m serializeintrin.h
  • Loading branch information
manisandro committed Jul 9, 2021
1 parent f083876 commit 3e2dfc3dccb460322fef876a7cdb6d85ce6a2003
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 3e2dfc3

Please sign in to comment.