Used zero for enums in C++ ctors.

This commit is contained in:
NathanSweet 2015-02-21 02:48:45 +01:00
parent 75446e60a7
commit 0815fad4d6
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ struct spTimeline {
#ifdef __cplusplus
spTimeline() :
type(SP_TIMELINE_SCALE),
type(0),
vtable(0) {
}
#endif

View File

@ -47,7 +47,7 @@ typedef struct spAttachment {
#ifdef __cplusplus
spAttachment() :
name(0),
type(SP_ATTACHMENT_REGION),
type(0),
vtable(0) {
}
#endif