Compile constructor of aiMetadataType only for c++
parent
3b4a9812e5
commit
6afb72216c
|
@ -87,11 +87,13 @@ struct aiMetadataEntry {
|
|||
aiMetadataType mType;
|
||||
void *mData;
|
||||
|
||||
#ifdef __cplusplus
|
||||
aiMetadataEntry() :
|
||||
mType(AI_META_MAX),
|
||||
mData( nullptr ) {
|
||||
// empty
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue