From 061deaa80f07fe68c5e39653374657132726571f Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Tue, 11 Jun 2024 04:37:50 +0800 Subject: [PATCH] common/ratekeeper: change frame() return type from double to uint64_t (#32679) old-commit-hash: a4f0f6ca3627c9a8a805ec3f20c17d68a710b7f8 --- common/ratekeeper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/ratekeeper.h b/common/ratekeeper.h index b6e8ac66a6..e7323c6ec3 100644 --- a/common/ratekeeper.h +++ b/common/ratekeeper.h @@ -9,7 +9,7 @@ public: ~RateKeeper() {} bool keepTime(); bool monitorTime(); - inline double frame() const { return frame_; } + inline uint64_t frame() const { return frame_; } inline double remaining() const { return remaining_; } private: