Skip to content
Permalink
Browse files

tiledb: initialize member variable in initializer list as suggested b…

…y cppcheck
  • Loading branch information...
rouault committed Aug 12, 2019
1 parent 36a6a8c commit af3e4979d68a629a5c9510880d8b84f46c9604f7
Showing with 2 additions and 2 deletions.
  1. +2 −2 gdal/frmts/tiledb/tiledbdataset.cpp
@@ -199,7 +199,8 @@ static CPLErr SetBuffer( tiledb::Query* poQuery, GDALDataType eType,
TileDBRasterBand::TileDBRasterBand(
TileDBDataset *poDSIn, int nBandIn, CPLString osAttr ) :
poGDS( poDSIn ),
bStats( poDSIn->bStats )
bStats( poDSIn->bStats ),
osAttrName(osAttr)
{
poDS = poDSIn;
nBand = nBandIn;
@@ -209,7 +210,6 @@ TileDBRasterBand::TileDBRasterBand(
nRasterYSize = poGDS->nRasterYSize;
nBlockXSize = poGDS->nBlockXSize;
nBlockYSize = poGDS->nBlockYSize;
osAttrName = osAttr;

m_query.reset(new tiledb::Query( *poGDS->m_ctx, *poGDS->m_array ) );

0 comments on commit af3e497

Please sign in to comment.
You can’t perform that action at this time.