add init list for metadatatype.

pull/3202/head
Kim Kulling 2020-05-04 20:40:08 +02:00
parent 5c9a08e375
commit 3b4a9812e5
1 changed files with 6 additions and 0 deletions

View File

@ -86,6 +86,12 @@ typedef enum aiMetadataType {
struct aiMetadataEntry { struct aiMetadataEntry {
aiMetadataType mType; aiMetadataType mType;
void *mData; void *mData;
aiMetadataEntry() :
mType(AI_META_MAX),
mData( nullptr ) {
// empty
}
}; };
#ifdef __cplusplus #ifdef __cplusplus