Start callback IDs at 1 so 0 is reserved

pull/32/head
Paul Hollinsky 2020-09-08 17:38:38 -04:00
parent 12463ea2f4
commit 3f8ed840ba
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ private:
std::map<int, EventCallback> callbacks;
int callbackID = 0;
int callbackID = 1;
bool destructing = false;