Browse Source

Add namespace hv for INVALID_TIMER_ID (#292)

MrSen 3 years ago
parent
commit
5f8dba354d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      evpp/Event.h

+ 1 - 1
evpp/Event.h

@@ -12,7 +12,7 @@ struct Event;
 struct Timer;
 
 typedef uint64_t            TimerID;
-#define INVALID_TIMER_ID    ((TimerID)-1)
+#define INVALID_TIMER_ID    ((hv::TimerID)-1)
 
 typedef std::function<void(Event*)>     EventCallback;
 typedef std::function<void(TimerID)>    TimerCallback;