From 78c82b452686a09b8b79e2d23766420c1dab19f9 Mon Sep 17 00:00:00 2001 From: Dzmitry Neviadomski Date: Fri, 24 May 2024 18:31:50 +0300 Subject: [PATCH] Update outdated Doxygen params refs for tr_recentHistory (#6791) Signed-off-by: Dzmitry Neviadomski --- libtransmission/history.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libtransmission/history.h b/libtransmission/history.h index 5ed45cdd0..cdf7a8adb 100644 --- a/libtransmission/history.h +++ b/libtransmission/history.h @@ -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 {