Update outdated Doxygen params refs for tr_recentHistory

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
This commit is contained in:
Dzmitry Neviadomski 2024-04-14 23:50:28 +03:00
parent 92519281b0
commit 5834fc7502
No known key found for this signature in database
GPG Key ID: C2C77674D3302F74
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ class tr_recentHistory
public:
/**
* @brief add a counter to the recent history object.
* @param when the current time in sec, such as from tr_time()
* @param now the current time in seconds, such as from tr_time()
* @param n how many items to add to the history's counter
*/
constexpr void add(time_t now, SizeType n)
@ -43,8 +43,8 @@ public:
/**
* @brief count how many events have occurred in the last N seconds.
* @param when the current time in sec, such as from tr_time()
* @param seconds how many seconds to count back through.
* @param now the current time in seconds, such as from tr_time()
* @param age_sec how many seconds to count back through.
*/
[[nodiscard]] constexpr SizeType count(time_t now, unsigned int age_sec) const
{