From 9d18b3187ece11a46375f8ec46cfb04e0f7c5ca0 Mon Sep 17 00:00:00 2001 From: Jianpeng Ma Date: Fri, 3 Apr 2020 10:54:46 +0800 Subject: [PATCH] common/Throttle: remove unsued code. Signed-off-by: Jianpeng Ma --- src/common/Throttle.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/common/Throttle.h b/src/common/Throttle.h index c6537650451e7..e38886de06d33 100644 --- a/src/common/Throttle.h +++ b/src/common/Throttle.h @@ -117,9 +117,6 @@ public: */ void reset(); - bool should_wait(int64_t c) const { - return _should_wait(c); - } void reset_max(int64_t m) { std::lock_guard l(lock); _reset_max(m); -- 2.39.5