[cpp] Fixed shadow declaration warnings. Closes #1808.

This commit is contained in:
Harald Csaszar 2021-02-16 19:59:28 +01:00
parent bce5500290
commit e9f900c333
2 changed files with 8 additions and 9 deletions

View File

@ -387,6 +387,14 @@ namespace spine {
void enableQueue();
private:
static const int Subsequent = 0;
static const int First = 1;
static const int HoldSubsequent = 2;
static const int HoldFirst = 3;
static const int HoldMix = 4;
static const int Setup = 1;
static const int Current = 2;
AnimationStateData* _data;

View File

@ -288,15 +288,6 @@ void EventQueue::drain() {
_drainDisabled = false;
}
const int Subsequent = 0;
const int First = 1;
const int HoldSubsequent = 2;
const int HoldFirst = 3;
const int HoldMix = 4;
const int Setup = 1;
const int Current = 2;
AnimationState::AnimationState(AnimationStateData *data) :
_data(data),
_queue(EventQueue::newEventQueue(*this, _trackEntryPool)),