modernize C++: use using

This commit is contained in:
wmayer
2023-08-06 19:09:49 +02:00
committed by wwmayer
parent 630554f251
commit dbad96d43e
8 changed files with 41 additions and 16 deletions

View File

@@ -1030,11 +1030,11 @@ void SoFCSeparator::finish()
// Thread local data for bounding box rendering
//
// The code is inspred by Coin SoLevelOfDetails.cpp.
typedef struct {
using SoFCBBoxRenderInfo = struct {
SoGetBoundingBoxAction * bboxaction;
SoCube *cube;
SoColorPacker *packer;
} SoFCBBoxRenderInfo;
};
static void so_bbox_construct_data(void * closure)
{