mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Start callback IDs at 1 so 0 is reserved
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user