Start callback IDs at 1 so 0 is reserved

This commit is contained in:
Paul Hollinsky
2020-09-08 17:38:38 -04:00
parent 12463ea2f4
commit 3f8ed840ba
+1 -1
View File
@@ -146,7 +146,7 @@ private:
std::map<int, EventCallback> callbacks;
int callbackID = 0;
int callbackID = 1;
bool destructing = false;