mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-05 18:26:52 +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
|
#ifdef __cplusplus
|
||||||
spTimeline() :
|
spTimeline() :
|
||||||
type(SP_TIMELINE_SCALE),
|
type(0),
|
||||||
vtable(0) {
|
vtable(0) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -47,7 +47,7 @@ typedef struct spAttachment {
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
spAttachment() :
|
spAttachment() :
|
||||||
name(0),
|
name(0),
|
||||||
type(SP_ATTACHMENT_REGION),
|
type(0),
|
||||||
vtable(0) {
|
vtable(0) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user