diff options
author | Carbenium <carbenium@outlook.com> | 2020-07-25 16:46:43 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-23 23:59:46 +0100 |
commit | 27c1f475987bee079bb0bb616b6028d346d3b1b6 (patch) | |
tree | fda1d8effcf52c1f19064e5217ad45480086bdcf /src/common/Utilities/EventMap.h | |
parent | 7847589d9ca35de80dce68ac5cf5cf42c77b39a4 (diff) |
EventMap: Change GetTimeUntilEvent to return std::chrono types
(cherry picked from commit 8cb35b0d5f1462387033e6bd2f99d0ea829fdcd8)
Diffstat (limited to 'src/common/Utilities/EventMap.h')
-rw-r--r-- | src/common/Utilities/EventMap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/Utilities/EventMap.h b/src/common/Utilities/EventMap.h index 8d69524f2be..81f06b33b51 100644 --- a/src/common/Utilities/EventMap.h +++ b/src/common/Utilities/EventMap.h @@ -219,11 +219,11 @@ public: /** * @name GetTimeUntilEvent - * @brief Returns time in milliseconds until next event. + * @brief Returns time as std::chrono type until next event. * @param eventId of the event. - * @return Time of next event. + * @return Time of next event. If event is not scheduled returns Milliseconds::max() */ - uint32 GetTimeUntilEvent(uint32 eventId) const; + Milliseconds GetTimeUntilEvent(uint32 eventId) const; private: /** |