Skip to content

Commit

Permalink
Rename _serialize -> __serialize to fix collision with _serialize fro…
Browse files Browse the repository at this point in the history
…m serializeintrin.h
  • Loading branch information
manisandro committed Jul 9, 2021
1 parent f083876 commit 3e2dfc3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/core/pointcloud/qgseptdecoder.cpp
Expand Up @@ -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 )
{
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 3e2dfc3

Please sign in to comment.