mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
Fix formatting
This commit is contained in:
parent
84b3ff4930
commit
495132fc79
@ -1160,10 +1160,13 @@ bool QgsPointLocator::rebuildIndex( int maxFeaturesToIndex )
|
|||||||
}
|
}
|
||||||
|
|
||||||
QgsPointLocator_Stream stream( dataList );
|
QgsPointLocator_Stream stream( dataList );
|
||||||
try {
|
try
|
||||||
|
{
|
||||||
mRTree.reset( RTree::createAndBulkLoadNewRTree( RTree::BLM_STR, stream, *mStorage, fillFactor, indexCapacity,
|
mRTree.reset( RTree::createAndBulkLoadNewRTree( RTree::BLM_STR, stream, *mStorage, fillFactor, indexCapacity,
|
||||||
leafCapacity, dimension, variant, indexId ) );
|
leafCapacity, dimension, variant, indexId ) );
|
||||||
} catch (const std::exception& e) {
|
}
|
||||||
|
catch ( const std::exception &e )
|
||||||
|
{
|
||||||
QgsDebugError( QStringLiteral( "An exception has occurred during the creation of RTree: %1" ).arg( e.what() ) );
|
QgsDebugError( QStringLiteral( "An exception has occurred during the creation of RTree: %1" ).arg( e.what() ) );
|
||||||
destroyIndex();
|
destroyIndex();
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user