aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/EventMap.cpp
diff options
context:
space:
mode:
authorPeter Keresztes Schmidt <carbenium@outlook.com>2020-07-22 16:09:32 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-23 22:20:20 +0100
commit3499f518b52552a411e2b1cbdc3d922e64347f02 (patch)
treeb3130e17c606ba1e8bd669297c0c45dfaeebac65 /src/common/Utilities/EventMap.cpp
parent330e7100cbbf746206b542b0f13a3d06fcac0925 (diff)
EventMap: Remove GetNextEventTime and GetTimer methods (PR #25092)
(cherry picked from commit 6ab9922171cf6e2877c39f503bcf987dd9faa898)
Diffstat (limited to 'src/common/Utilities/EventMap.cpp')
-rw-r--r--src/common/Utilities/EventMap.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/common/Utilities/EventMap.cpp b/src/common/Utilities/EventMap.cpp
index 080be97245a..f9b0221159e 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)