diff options
author | Carbenium <carbenium@outlook.com> | 2020-07-25 16:46:43 +0200 |
---|---|---|
committer | Peter Keresztes Schmidt <carbenium@outlook.com> | 2020-07-26 23:20:11 +0200 |
commit | 8cb35b0d5f1462387033e6bd2f99d0ea829fdcd8 (patch) | |
tree | 107d60eccd881cf22c52b67c91687122bb42f066 /src/common/Utilities/EventMap.h | |
parent | b9795e44824c7cab58445e4a72d2113ddb451caa (diff) |
EventMap: Change GetTimeUntilEvent to return std::chrono types
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 dbb297a1c63..37e4fcb0bfb 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: /** |