mirror of
https://github.com/transmission/transmission
synced 2024-12-22 07:42:37 +00:00
Update outdated Doxygen params refs for tr_recentHistory (#6791)
Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
This commit is contained in:
parent
f24582ea2b
commit
78c82b4526
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue