diff options
author | Peter Keresztes Schmidt <carbenium@outlook.com> | 2020-07-22 16:09:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 16:09:32 +0200 |
commit | 6ab9922171cf6e2877c39f503bcf987dd9faa898 (patch) | |
tree | d355e4ea893a2c294de5a2a0fc4885b8f834a68f /src/common/Utilities/EventMap.cpp | |
parent | 6bdba191b52a584f4345a3c0985ad6e62853b5a3 (diff) |
EventMap: Remove GetNextEventTime and GetTimer methods (PR #25092)
Diffstat (limited to 'src/common/Utilities/EventMap.cpp')
-rw-r--r-- | src/common/Utilities/EventMap.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/common/Utilities/EventMap.cpp b/src/common/Utilities/EventMap.cpp index a29861e4574..142b5b85220 100644 --- a/src/common/Utilities/EventMap.cpp +++ b/src/common/Utilities/EventMap.cpp @@ -146,18 +146,6 @@ void EventMap::CancelEventGroup(uint32 group) } } -uint32 EventMap::GetNextEventTime(uint32 eventId) const -{ - if (Empty()) - return 0; - - for (std::pair<uint32 const, uint32> const& itr : _eventMap) - if (eventId == (itr.second & 0x0000FFFF)) - return itr.first; - - return 0; -} - uint32 EventMap::GetTimeUntilEvent(uint32 eventId) const { for (std::pair<uint32 const, uint32> const& itr : _eventMap) |