Pārlūkot izejas kodu

fix tc_timer, Events at the same time are executed in the order of posts

ruanshudong 1 gadu atpakaļ
vecāks
revīzija
f68205f113
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      util/include/util/tc_timer.h

+ 2 - 2
util/include/util/tc_timer.h

@@ -58,11 +58,11 @@ protected:
         uint32_t                _uniqueId = 0;
 	};
 
-    typedef std::unordered_set<uint64_t> EVENT_SET;
+    typedef std::set<uint64_t> EVENT_SET;
 
     typedef std::unordered_map<uint64_t, shared_ptr<Func>> MAP_EVENT;
 
-    typedef map<uint64_t, unordered_set<uint64_t>> MAP_TIMER;
+    typedef map<uint64_t, set<uint64_t>> MAP_TIMER;
 
 public: