diff --git a/code/BlenderCustomData.cpp b/code/BlenderCustomData.cpp index 22604b918..7899f928f 100644 --- a/code/BlenderCustomData.cpp +++ b/code/BlenderCustomData.cpp @@ -91,11 +91,6 @@ namespace Assimp { {} }; - /** - * @brief shortcut for array of CustomDataTypeDescription - */ - typedef std::array CustomDataTypeDescriptions; - /** * @brief helper macro to define Structure type specific CustomDataTypeDescription * @note IMPL_STRUCT_READ for same ty must be used earlier to implement the typespecific read function @@ -115,7 +110,7 @@ namespace Assimp { * other (like CD_ORCO, ...) uses arrays of rawtypes or even arrays of Structures * use a special readfunction for that cases */ - CustomDataTypeDescriptions customDataTypeDescriptions = { + std::array customDataTypeDescriptions = { { DECL_STRUCT_CUSTOMDATATYPEDESCRIPTION(MVert), DECL_UNSUPPORTED_CUSTOMDATATYPEDESCRIPTION, DECL_UNSUPPORTED_CUSTOMDATATYPEDESCRIPTION, @@ -162,7 +157,7 @@ namespace Assimp { DECL_UNSUPPORTED_CUSTOMDATATYPEDESCRIPTION, DECL_UNSUPPORTED_CUSTOMDATATYPEDESCRIPTION - }; + }}; bool isValidCustomDataType(const int cdtype) {