mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
Used zero for enums in C++ ctors.
This commit is contained in:
parent
75446e60a7
commit
0815fad4d6
@ -104,7 +104,7 @@ struct spTimeline {
|
||||
|
||||
#ifdef __cplusplus
|
||||
spTimeline() :
|
||||
type(SP_TIMELINE_SCALE),
|
||||
type(0),
|
||||
vtable(0) {
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -47,7 +47,7 @@ typedef struct spAttachment {
|
||||
#ifdef __cplusplus
|
||||
spAttachment() :
|
||||
name(0),
|
||||
type(SP_ATTACHMENT_REGION),
|
||||
type(0),
|
||||
vtable(0) {
|
||||
}
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user