Skip to content

Commit

Permalink
Code layout
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jun 18, 2020
1 parent 1763dad commit 5a64380
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/providers/spatialite/qgsspatialiteprovider.cpp
Expand Up @@ -5744,7 +5744,6 @@ bool QgsSpatiaLiteProvider::getTableSummaryAbstractInterface( gaiaVectorLayerPtr
lyr->ExtentInfos->MaxX, lyr->ExtentInfos->MaxY );
// This can be wrong! see: GH #29264
// mNumberFeatures = lyr->ExtentInfos->Count;

// Note: the unique ptr here does not own the handle, it is just used for the convenience
// methods available within the class.
sqlite3_database_unique_ptr slPtr;
Expand All @@ -5756,7 +5755,7 @@ bool QgsSpatiaLiteProvider::getTableSummaryAbstractInterface( gaiaVectorLayerPtr
stmt.step();
mNumberFeatures = sqlite3_column_int64( stmt.get(), 0 );
}
// Note: the pointer handle is ownd by the provider, releasing it
// Note: the pointer handle is owned by the provider, releasing it
slPtr.release();
}
else
Expand Down

0 comments on commit 5a64380

Please sign in to comment.