Compile constructor of aiMetadataType only for c++

pull/3202/head
Kim Kulling 2020-05-04 20:50:44 +02:00 committed by GitHub
parent 3b4a9812e5
commit 6afb72216c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -87,11 +87,13 @@ struct aiMetadataEntry {
aiMetadataType mType;
void *mData;
#ifdef __cplusplus
aiMetadataEntry() :
mType(AI_META_MAX),
mData( nullptr ) {
// empty
}
#endif
};
#ifdef __cplusplus