Fix formatting

This commit is contained in:
sewe2000 2025-08-06 14:17:37 +02:00 committed by github-actions[bot]
parent 84b3ff4930
commit 495132fc79

View File

@ -1160,11 +1160,14 @@ bool QgsPointLocator::rebuildIndex( int maxFeaturesToIndex )
}
QgsPointLocator_Stream stream( dataList );
try {
try
{
mRTree.reset( RTree::createAndBulkLoadNewRTree( RTree::BLM_STR, stream, *mStorage, fillFactor, indexCapacity,
leafCapacity, dimension, variant, indexId ) );
} catch (const std::exception& e) {
QgsDebugError(QStringLiteral("An exception has occurred during the creation of RTree: %1").arg(e.what()));
}
catch ( const std::exception &e )
{
QgsDebugError( QStringLiteral( "An exception has occurred during the creation of RTree: %1" ).arg( e.what() ) );
destroyIndex();
return false;
}