Start callback IDs at 1 so 0 is reserved
parent
12463ea2f4
commit
3f8ed840ba
|
|
@ -146,7 +146,7 @@ private:
|
||||||
|
|
||||||
std::map<int, EventCallback> callbacks;
|
std::map<int, EventCallback> callbacks;
|
||||||
|
|
||||||
int callbackID = 0;
|
int callbackID = 1;
|
||||||
|
|
||||||
bool destructing = false;
|
bool destructing = false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue